Skip to content

Commit

Permalink
tests: Update GPU arch reporting code for post-Blackwell
Browse files Browse the repository at this point in the history
  • Loading branch information
Saancreed committed Feb 3, 2025
1 parent 99f410e commit 286d3cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/nvapi_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ static std::string ToGpuArchitecture(NV_GPU_ARCHITECTURE_ID id) {
case NV_GPU_ARCHITECTURE_GF110:
return "Fermi";
default:
if (id > NV_GPU_ARCHITECTURE_AD100)
return "Post-Ada";
if (id > NV_GPU_ARCHITECTURE_GB200)
return "Post-Blackwell";
else
return "Pre-Fermi";
}
Expand Down

0 comments on commit 286d3cf

Please sign in to comment.