Skip to content
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

Add missing macros #598

Merged
merged 2 commits into from
Nov 5, 2024
Merged
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
20 changes: 20 additions & 0 deletions docs/source/API/core/Macros.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,26 @@ Architectures
+-----------------------------------+-----------------------------------------------------------------------------------+
| ``KOKKOS_ARCH_AMD_AVX2`` | Optimize for AVX2 (enabled for Zen) |
+-----------------------------------+-----------------------------------------------------------------------------------+
| ``KOKKOS_ARCH_AMD_GFX906`` | Optimize for AMD GPU MI50, MI60 (GPU) |
+-----------------------------------+-----------------------------------------------------------------------------------+
| ``KOKKOS_ARCH_AMD_GFX908`` | Optimize for AMD GPU MI100 (GPU) |
+-----------------------------------+-----------------------------------------------------------------------------------+
| ``KOKKOS_ARCH_AMD_GFX90A`` | Optimize for AMD GPU MI200 series (GPU) |
+-----------------------------------+-----------------------------------------------------------------------------------+
| ``KOKKOS_ARCH_AMD_GFX940`` | Optimize for AMD GPU MI300A pre-production (GPU) |
+-----------------------------------+-----------------------------------------------------------------------------------+
| ``KOKKOS_ARCH_AMD_GFX942`` | Optimize for AMD GPU MI300X (GPU) |
+-----------------------------------+-----------------------------------------------------------------------------------+
| ``KOKKOS_ARCH_AMD_GFX942_APU`` | Optimize for AMD GPU MI300A (GPU) |
+-----------------------------------+-----------------------------------------------------------------------------------+
| ``KOKKOS_ARCH_AMD_GFX1030`` | Optimize for AMD GPU V620, W6800 (GPU) |
+-----------------------------------+-----------------------------------------------------------------------------------+
| ``KOKKOS_ARCH_AMD_GFX1100`` | Optimize for AMD GPU 7900xt (GPU) |
+-----------------------------------+-----------------------------------------------------------------------------------+
| ``KOKKOS_ARCH_AMD_GFX1103`` | Optimize for AMD Phoenix APU (GPU) |
+-----------------------------------+-----------------------------------------------------------------------------------+
| ``KOKKOS_ARCH_AMD_GPU`` | String of the architecture flag for AMD GPU |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about adding "(e.g. "gfx90A" when targeting a MI250X accelerator)"

+-----------------------------------+-----------------------------------------------------------------------------------+
| ``KOKKOS_ARCH_AVX`` | Optimize for AVX |
+-----------------------------------+-----------------------------------------------------------------------------------+
| ``KOKKOS_ARCH_AVX2`` | Optimize for AVX2 |
Expand Down
Loading