From c699af920419025f86f284917385f8de5efd8fd3 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Thu, 22 Oct 2020 20:19:37 -0600 Subject: update --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ec76229..ba99ce1 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-70-g09d2