From b7968ef8ca9e0746d0bc3b7f1386eed32460712a Mon Sep 17 00:00:00 2001 From: Elizabeth <hashim.sharif91@gmail.com> Date: Sat, 12 Oct 2019 03:54:57 -0500 Subject: [PATCH] Adding new setup script --- .../hpvm-tensor-rt/bin/setup_cuda_llvm_paths.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 llvm/projects/hpvm-tensor-rt/bin/setup_cuda_llvm_paths.sh diff --git a/llvm/projects/hpvm-tensor-rt/bin/setup_cuda_llvm_paths.sh b/llvm/projects/hpvm-tensor-rt/bin/setup_cuda_llvm_paths.sh new file mode 100644 index 0000000000..3548f182f1 --- /dev/null +++ b/llvm/projects/hpvm-tensor-rt/bin/setup_cuda_llvm_paths.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# CUDNN Path setup +module load cuda-toolkit/9.1 +export CUDA_INCLUDE_PATH=/software/cuda-9.1/include +export CUDNN_PATH=/software/cuda-9.1/lib64/ +export LIBRARY_PATH=/software/cuda-9.1/lib64/:$LIBRARY_PATH +export LD_LIBRARY_PATH=/software/cuda-9.1/lib64/:$LD_LIBRARY_PATH + +# HPVM Path setup +export CPATH=$CPATH:/home/hsharif3/anaconda2/include/ +export PATH=/home/hsharif3/Gitlab/hpvm/build/bin/:$PATH +export LLVM_BUILD_ROOT=/home/hsharif3/Gitlab/hpvm/build/ +export LLVM_SRC_ROOT=/home/hsharif3/Gitlab/hpvm/llvm/ -- GitLab