diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2019-04-21 17:07:07 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2019-04-21 17:07:07 -0600 |
commit | 0d9d17554280bf9d19ce2db84bd29b5c5743d454 (patch) | |
tree | 49f78b1e7dc4937483245c13053f03fc584ac83c /Makefile | |
download | sycltest-0d9d17554280bf9d19ce2db84bd29b5c5743d454.tar.gz sycltest-0d9d17554280bf9d19ce2db84bd29b5c5743d454.tar.bz2 sycltest-0d9d17554280bf9d19ce2db84bd29b5c5743d454.zip |
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ec76229 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +SYCL=/home/ztuowen/sycl/install +CXX=$(SYCL)/bin/clang++ +LIBDIR=$(SYCL)/lib + +all:sycltest + +sycltest:main.cpp + $(CXX) -O3 -std=c++14 -lstdc++ -fopenmp -fsycl -o $@ $^ -lsycl -lOpenCL -Wl,--rpath=$(LIBDIR) + +clean: + -rm sycltest + +.PHONY:all clean |