diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,13 +1,16 @@ -SYCL=/home/ztuowen/sycl/install +SYCL=/opt/intel/oneapi/compiler/latest/linux CXX=$(SYCL)/bin/clang++ -LIBDIR=$(SYCL)/lib -all:sycltest +all:sycltest subgroup sycltest:main.cpp - $(CXX) -O3 -std=c++14 -lstdc++ -fopenmp -fsycl -o $@ $^ -lsycl -lOpenCL -Wl,--rpath=$(LIBDIR) + $(CXX) -O3 -std=c++14 -lstdc++ -fsycl -o $@ $^ -lsycl -lOpenCL + +subgroup:subgroup.cpp + $(CXX) -O3 -std=c++14 -lstdc++ -fsycl -o $@ $^ -lsycl -lOpenCL clean: -rm sycltest + -rm subgroup .PHONY:all clean |