@@ -117,7 +117,7 @@ function disableUnsupportedPlatforms(os) {
117
117
118
118
// Change compute versions depending on build type
119
119
function changeCUDAVersion ( ptbuild ) {
120
- var cuda_element = document . getElementById ( "cuda11.x" ) ;
120
+ var cuda_element_x = document . getElementById ( "cuda11.x" ) ;
121
121
var cuda_element_y = document . getElementById ( "cuda11.y" ) ;
122
122
var rocm_element = document . getElementById ( "rocm5.x" ) ;
123
123
if ( cuda_element == null ) {
@@ -138,15 +138,15 @@ function changeCUDAVersion(ptbuild) {
138
138
}
139
139
if ( ptbuild == "preview" ) {
140
140
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" ;
142
142
cuda_element_y . children [ 0 ] . textContent = "CUDA 11.7" ;
143
143
} else if ( ptbuild == "stable" ) {
144
144
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" ;
146
146
cuda_element_y . children [ 0 ] . textContent = "CUDA 11.6" ;
147
147
} else {
148
148
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" ;
150
150
cuda_element_y . children [ 0 ] . textContent = "CUDA 11.6" ;
151
151
}
152
152
}
0 commit comments