Skip to content

Commit 11612cf

Browse files
committed
Address feedback
1 parent dfc8032 commit 11612cf

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

_includes/quick-start-module.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function disableUnsupportedPlatforms(os) {
117117

118118
// Change compute versions depending on build type
119119
function changeCUDAVersion(ptbuild) {
120-
var cuda_element = document.getElementById("cuda11.x");
120+
var cuda_element_x = document.getElementById("cuda11.x");
121121
var cuda_element_y = document.getElementById("cuda11.y");
122122
var rocm_element = document.getElementById("rocm5.x");
123123
if (cuda_element == null) {
@@ -138,15 +138,15 @@ function changeCUDAVersion(ptbuild) {
138138
}
139139
if (ptbuild == "preview") {
140140
rocm_element.children[0].textContent = "ROCm 5.2";
141-
cuda_element.children[0].textContent = "CUDA 11.6";
141+
cuda_element_x.children[0].textContent = "CUDA 11.6";
142142
cuda_element_y.children[0].textContent = "CUDA 11.7";
143143
} else if (ptbuild == "stable") {
144144
rocm_element.children[0].textContent = "ROCm 5.1.1";
145-
cuda_element.children[0].textContent = "CUDA 11.3";
145+
cuda_element_x.children[0].textContent = "CUDA 11.3";
146146
cuda_element_y.children[0].textContent = "CUDA 11.6";
147147
} else {
148148
rocm_element.children[0].textContent = "ROCm 5.1.1";
149-
cuda_element.children[0].textContent = "CUDA 11.3";
149+
cuda_element_x.children[0].textContent = "CUDA 11.3";
150150
cuda_element_y.children[0].textContent = "CUDA 11.6";
151151
}
152152
}

assets/quick-start-module.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)