Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
12 changes: 7 additions & 5 deletions cmake/Modules/CudaArchitectureSelector.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@
#
# GPU generation name:
# Has to be one of the strings ``Tesla``, ``Fermi``, ``Kepler``, ``Maxwell``,
# ``Pascal``, ``Volta``, ``Turing``, ``Ampere``. Specifying one of the strings
# will add flags for the generation of CUBIN code for all architectures
# belonging to that GPU generation (except the ones listed in the
# ``UNSUPPORTED`` list).
# ``Pascal``, ``Volta``, ``Turing``, ``Ampere``, ``Ada``, ``Hopper``.
# Specifying one of the strings will add flags for the generation of CUBIN
# code for all architectures belonging to that GPU generation (except the
# ones listed in the ``UNSUPPORTED`` list).
#
# Virtual and physical architecture specification:
# A string of the form ``XX(YY)``, where ``XX`` is the identifier of the
Expand Down Expand Up @@ -240,7 +240,9 @@ function(cas_get_architectures_by_name name output)
set( pascal_version 6)
set( volta_version "7(0|2)")
set( turing_version 75)
set( ampere_version 8)
set( ampere_version "8(0|6|7)")
set( ada_version 89)
set( hopper_version 9)
string(TOLOWER ${name} lower_name)
if(NOT DEFINED ${lower_name}_version)
message(FATAL_ERROR "${name} is not a valid GPU generation name")
Expand Down
1 change: 1 addition & 0 deletions common/cuda_hip/base/executor.hpp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ inline int convert_sm_ver_to_cores(int major, int minor)
{0x80, 64}, // Ampere Generation (SM 8.0) GA100 class
{0x86, 128}, // Ampere Generation (SM 8.6)
{0x87, 128}, // Ampere Generation (SM 8.7)
{0x89, 128}, // Ada Generation (SM 8.9)
{0x90, 128}, // Hopper Generation (SM 9.0)
{-1, -1}};

Expand Down
Loading