summaryrefslogtreecommitdiffstats
path: root/roles/cuda/templates/cuda.sh.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/cuda/templates/cuda.sh.j2')
-rwxr-xr-xroles/cuda/templates/cuda.sh.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/cuda/templates/cuda.sh.j2 b/roles/cuda/templates/cuda.sh.j2
new file mode 100755
index 0000000..78393a1
--- /dev/null
+++ b/roles/cuda/templates/cuda.sh.j2
@@ -0,0 +1,7 @@
+#!/bin/bash
+# {{ ansible_managed }}
+export PATH={{ cuda_bash_path }}:$PATH
+export LD_LIBRARY_PATH={{ cuda_bash_ld_lib_path }}:$LD_LIBRARY_PATH
+export CUDA_ROOT={{ cuda_bash_cuda_root }}
+export CUDA_INC_DIR={{ cuda_bash_cuda_inc_dir }}:$CUDA_INC_DIR
+export CPATH={{ cuda_bash_cpath }}:$CPATH