From 722a49a623476f533e93f21c3303f65c13f89443 Mon Sep 17 00:00:00 2001
From: Akash Kothari <akashk4@tyler.cs.illinois.edu>
Date: Wed, 15 Jan 2020 17:09:12 -0600
Subject: [PATCH] Update HPVM runtime makefile to include the CUDA path

---
 hpvm/projects/visc-rt/makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hpvm/projects/visc-rt/makefile b/hpvm/projects/visc-rt/makefile
index 01cc2b7b3f..e0f7e3b2c0 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
-- 
GitLab