File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ cuda_repo: "https://developer.download.nvidia.com/compute/cuda/repos/{{ cuda_dis
3
3
cuda_packages :
4
4
- cuda
5
5
- nvidia-gds
6
- # cuda_version_tuple : # discovered from installed package e.g. ('12', '1', '0')
7
- cuda_version_short : " {{ cuda_version_tuple [0] }}.{{ cuda_version_tuple[1] }}"
6
+ # _cuda_version_tuple : # discovered from installed package e.g. ('12', '1', '0')
7
+ cuda_version_short : " {{ _cuda_version_tuple [0] }}.{{ cuda_version_tuple[1] }}"
8
8
cuda_samples_release_url : " https://github.com/NVIDIA/cuda-samples/archive/refs/tags/v{{ cuda_version_short }}.tar.gz"
9
9
cuda_samples_path : " /home/{{ ansible_user }}/cuda_samples"
10
10
cuda_samples_programs :
Original file line number Diff line number Diff line change 5
5
6
6
- name : Set fact for discovered cuda version
7
7
set_fact :
8
- cuda_version_tuple : " {{ (_cuda_samples_version.content | b64decode | from_json).cuda.version | split('.') }}" # e.g. '12.1.0'
8
+ _cuda_version_tuple : " {{ (_cuda_samples_version.content | b64decode | from_json).cuda.version | split('.') }}" # e.g. '12.1.0'
9
9
10
10
- name : Ensure cuda_samples_path exists
11
11
file :
You can’t perform that action at this time.
0 commit comments