File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ find_package(SDL2 REQUIRED)
12
12
include_directories (${SDL2_INCLUDE_DIRS} )
13
13
14
14
add_executable (crowdsim src/main.cpp )
15
- SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsycl -fsycl-targets=spir64-gen -fgpu-inline-threshold=100000 " )
15
+ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsycl -fsycl-targets=spir64-gen" )
16
16
17
17
add_subdirectory (external )
18
18
Original file line number Diff line number Diff line change @@ -195,7 +195,9 @@ int main(int argc, char *argv[]) {
195
195
auto actorBuf = sycl::buffer<Actor>(actors.data (), actors.size ());
196
196
auto walls = room.getWalls ();
197
197
auto wallsBuf = sycl::buffer<std::array<vecType, 2 >>(walls.data (), walls.size ());
198
+ wallsBuf.set_final_data (nullptr );
198
199
auto pathsBuf = sycl::buffer<Path>(paths.data (), paths.size ());
200
+ pathsBuf.set_final_data (nullptr );
199
201
200
202
int delayCounter = 0 ;
201
203
int updateBBoxCounter = 0 ;
You can’t perform that action at this time.
0 commit comments