Merge branch 'bugfix/build' of github.com:uob-hpc/gpu-stream into bugfix/build

This commit is contained in:
Tom Deakin 2017-02-23 15:32:21 +00:00
commit dde301b069

11
SYCL.make Normal file
View 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