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
33cuda_packages :
44 - cuda
55 - 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] }}"
88cuda_samples_release_url : " https://github.com/NVIDIA/cuda-samples/archive/refs/tags/v{{ cuda_version_short }}.tar.gz"
99cuda_samples_path : " /home/{{ ansible_user }}/cuda_samples"
1010cuda_samples_programs :
Original file line number Diff line number Diff line change 55
66- name : Set fact for discovered cuda version
77 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'
99
1010- name : Ensure cuda_samples_path exists
1111 file :
You can’t perform that action at this time.
0 commit comments