Add SYCL Makefile
This commit is contained in:
parent
436c3899c7
commit
887ae9bf1b
11
SYCL.make
Normal file
11
SYCL.make
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
sycl-stream: main.cpp SYCLStream.cpp SYCLStream.sycl
|
||||
$(CXX) -O3 -std=c++11 -DSYCL main.cpp SYCLStream.cpp -include SYCLStream.sycl -lComputeCpp -lOpenCL -o $@
|
||||
|
||||
|
||||
SYCLStream.sycl: SYCLStream.cpp
|
||||
compute++ SYCLStream.cpp -sycl -no-serial-memop -O2 -emit-llvm -c
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f SYCLStream.sycl
|
||||
Loading…
Reference in New Issue
Block a user