@@ -8,7 +8,7 @@ var supportedOperatingSystems = new Map([
8
8
var supportedComputePlatforms = new Map ( [
9
9
[ 'cuda10.2' , new Set ( [ 'linux' , 'windows' ] ) ] ,
10
10
[ 'cuda11.x' , new Set ( [ 'linux' , 'windows' ] ) ] ,
11
- [ 'cuda11.6 ' , new Set ( [ 'linux' , 'windows' ] ) ] ,
11
+ [ 'cuda11.y ' , new Set ( [ 'linux' , 'windows' ] ) ] ,
12
12
[ 'rocm5.x' , new Set ( [ 'linux' ] ) ] ,
13
13
[ 'accnone' , new Set ( [ 'linux' , 'macos' , 'windows' ] ) ] ,
14
14
] ) ;
@@ -117,14 +117,15 @@ 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
+ var cuda_element_y = document . getElementById ( "cuda11.y" ) ;
121
122
var rocm_element = document . getElementById ( "rocm5.x" ) ;
122
- if ( cuda_element == null ) {
123
- console . log ( "Failed to find cuda11.x element " ) ;
123
+ if ( cuda_element_x == null || cuda_element_y == null ) {
124
+ console . log ( "Failed to find cuda11 elements " ) ;
124
125
return ;
125
126
}
126
- if ( cuda_element . childElementCount != 1 ) {
127
- console . log ( "Unexpected number of children for cuda11.x element" ) ;
127
+ if ( cuda_element_x . childElementCount != 1 || cuda_element_y . childElementCount != 1 ) {
128
+ console . log ( "Unexpected number of children for cuda11 element" ) ;
128
129
return ;
129
130
}
130
131
if ( rocm_element == null ) {
@@ -137,13 +138,16 @@ function changeCUDAVersion(ptbuild) {
137
138
}
138
139
if ( ptbuild == "preview" ) {
139
140
rocm_element . children [ 0 ] . textContent = "ROCm 5.2" ;
140
- cuda_element . children [ 0 ] . textContent = "CUDA 11.3" ;
141
+ cuda_element_x . children [ 0 ] . textContent = "CUDA 11.6" ;
142
+ cuda_element_y . children [ 0 ] . textContent = "CUDA 11.7" ;
141
143
} else if ( ptbuild == "stable" ) {
142
144
rocm_element . children [ 0 ] . textContent = "ROCm 5.1.1" ;
143
- cuda_element . children [ 0 ] . textContent = "CUDA 11.3" ;
145
+ cuda_element_x . children [ 0 ] . textContent = "CUDA 11.3" ;
146
+ cuda_element_y . children [ 0 ] . textContent = "CUDA 11.6" ;
144
147
} else {
145
148
rocm_element . children [ 0 ] . textContent = "ROCm 5.1.1" ;
146
- cuda_element . children [ 0 ] . textContent = "CUDA 11.1" ;
149
+ cuda_element_x . children [ 0 ] . textContent = "CUDA 11.3" ;
150
+ cuda_element_y . children [ 0 ] . textContent = "CUDA 11.6" ;
147
151
}
148
152
}
149
153
0 commit comments