[SYCL] Pass -no-serial-memop to compute++ to squelch warning
This commit is contained in:
parent
d4b3b3533c
commit
fb8f06e683
@ -43,7 +43,7 @@ if (true)
|
||||
# ComputeCpp
|
||||
# TODO: Sort this out properly!
|
||||
add_custom_target(gpu-stream-sycl
|
||||
COMMAND compute++ ${CMAKE_CURRENT_SOURCE_DIR}/SYCLStream.cpp -sycl -O2 -emit-llvm -o SYCLStream.bc -c
|
||||
COMMAND compute++ ${CMAKE_CURRENT_SOURCE_DIR}/SYCLStream.cpp -sycl -no-serial-memop -O2 -emit-llvm -o SYCLStream.bc -c
|
||||
COMMAND /usr/bin/c++ ${CMAKE_CURRENT_SOURCE_DIR}/SYCLStream.cpp -O2 -std=c++11 -include SYCLStream.sycl -o SYCLStream.o -c
|
||||
COMMAND /usr/bin/c++ ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp -O2 -std=c++11 SYCLStream.o -include SYCLStream.sycl -lSYCL -lOpenCL -o gpu-stream-sycl -DSYCL
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user