Skip to content

Pick ROCm 4.3 for nightly #908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 22 additions & 8 deletions _includes/quick-start-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var supportedOperatingSystems = new Map([
var supportedComputePlatforms = new Map([
['cuda10.2', new Set(['linux', 'windows'])],
['cuda11.x', new Set(['linux', 'windows'])],
['rocm4.2', new Set(['linux'])],
['rocm4.x', new Set(['linux'])],
['accnone', new Set(['linux', 'macos', 'windows'])],
]);

Expand Down Expand Up @@ -115,21 +115,35 @@ function disableUnsupportedPlatforms(os) {
});
}

// Change CUDA version depending on build type
// Change compute versiosn depending on build type
function changeCUDAVersion(ptbuild) {
var element = document.getElementById("cuda11.x");
if (element == null) {
var cuda_element = document.getElementById("cuda11.x");
var rocm_element = document.getElementById("rocm4.x");
if (cuda_element == null) {
console.log("Failed to find cuda11.x element");
return;
}
if (element.childElementCount != 1) {
if (cuda_element.childElementCount != 1) {
console.log("Unexpected number of children for cuda11.x element");
return;
}
if (ptbuild == "preview" || ptbuild == "stable") {
element.children[0].textContent = "CUDA 11.3";
if (rocm_element == null) {
console.log("Failed to find rocm4.x element");
return;
}
if (rocm_element.childElementCount != 1) {
console.log("Unexpected number of children for rocm4.x element");
return;
}
if (ptbuild == "preview") {
rocm_element.children[0].textContent = "ROCM 4.3 (beta)";
cuda_element.children[0].textContent = "CUDA 11.3";
} else if (ptbuild == "stable") {
rocm_element.children[0].textContent = "ROCM 4.2 (beta)";
cuda_element.children[0].textContent = "CUDA 11.3";
} else {
element.children[0].textContent = "CUDA 11.1";
rocm_element.children[0].textContent = "ROCM 4.2 (beta)";
cuda_element.children[0].textContent = "CUDA 11.1";
}
}

Expand Down
2 changes: 1 addition & 1 deletion _includes/quick_start_local.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<div class="col-md-3 option block version" id="cuda11.x">
<div class="option-text">CUDA 11.3</div>
</div>
<div class="col-md-3 option block version" id="rocm4.2">
<div class="col-md-3 option block version" id="rocm4.x">
<div class="option-text">ROCm 4.2 (beta)</div>
</div>
<div class="col-md-3 option block version" id="accnone">
Expand Down
Loading