Get information on Graphic card for Kokkos

  1. Hardware version (choose)

    Example on MANWE

    On MANWE, the command

    $ nvidia-smi --query-gpu=compute_cap --format=csv
    

    returns

    compute_cap
    8.6
    

    Next see item 2. to find out the appropriate option for Kokkos.

  2. List of architectures supported by Kokkos (choose)

    Example on MANWE

    On web page we see

    Table 1 Example of web page

    NVIDIA GPUs

    Architecture

    Compute capability

    Models

    Kokkos_ARCH_AMPERE86

    Ampere

    8.6

    A40,A10,A16,A2

    We have to use the option Kokkos_ARCH_AMPERE86 for cmake.

  3. Other examples

    Table 2 Examples of cmake option

    Supercomputers (2024)

    GPU

    Manufacturer

    cmake option

    Jean-Zay / Orcus

    V100

    nvidia

    -DKokkos_ARCH_VOLTA70=ON

    Topaze / Orcus

    A100

    nvidia

    -DKokkos_ARCH_AMPERE80=ON

    Jean-Zay / Orcus

    H100

    nvidia

    -DKokkos_ARCH_HOPPER90=ON

    Adastra

    MI250X

    AMD

    -DKokkos_ARCH_AMD_GFX90A

Section author: Alain Cartalade