diff --git a/hpvm/projects/visc-rt/makefile b/hpvm/projects/visc-rt/makefile index 01cc2b7b3fd548f918ea8f43ad5c5bbd4642edc6..e0f7e3b2c0311362f49b7be1915bb54a4f0adf71 100644 --- a/hpvm/projects/visc-rt/makefile +++ b/hpvm/projects/visc-rt/makefile @@ -2,12 +2,14 @@ LLVM_BUILD_ROOT = ${LLVM_SRC_ROOT}/../build/ OPENCL_INC_PATH = /opt/intel/opencl-sdk/include +CUDA_INC_PATH = /software/cuda-9.1/include/CL/ + ifeq ($(NUM_CORES),) NUM_CORES=8 endif -CPP_FLAGS = -I $(LLVM_SRC_ROOT)/include -I $(LLVM_BUILD_ROOT)/include -I $(OPENCL_INC_PATH) -std=c++11 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS +CPP_FLAGS = -I $(LLVM_SRC_ROOT)/include -I $(LLVM_BUILD_ROOT)/include -I $(OPENCL_INC_PATH) -I $(CUDA_INC_PATH) -std=c++11 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS TARGET:=visc-rt LLVM_CC:=$(LLVM_BUILD_ROOT)/bin/clang