diff options
author | Jan Patrick Lehr <jplehr@users.noreply.github.com> | 2023-12-29 21:26:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-29 21:26:20 +0100 |
commit | ad554d6dbda5a85fcd6b8be8654c39621d21c49e (patch) | |
tree | 78bc27b5baa9c9b44386d993a08e1ad771230452 /libc/cmake/modules | |
parent | 31d7ad4d994b1f6b60da304ec2d06bd2d7f16aaa (diff) | |
download | llvm-ad554d6dbda5a85fcd6b8be8654c39621d21c49e.zip llvm-ad554d6dbda5a85fcd6b8be8654c39621d21c49e.tar.gz llvm-ad554d6dbda5a85fcd6b8be8654c39621d21c49e.tar.bz2 |
[libc] Adds AMDGPU gfx941 and gfx942 to archs (#76573)
This adds the ROCm device libs defines for both target architectures so
that we an compile libc on such GPUs.
Diffstat (limited to 'libc/cmake/modules')
-rw-r--r-- | libc/cmake/modules/prepare_libc_gpu_build.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/cmake/modules/prepare_libc_gpu_build.cmake b/libc/cmake/modules/prepare_libc_gpu_build.cmake index f3ccbdc..05c46a6 100644 --- a/libc/cmake/modules/prepare_libc_gpu_build.cmake +++ b/libc/cmake/modules/prepare_libc_gpu_build.cmake @@ -5,8 +5,9 @@ endif() # Set up the target architectures to build the GPU libc for. set(all_amdgpu_architectures "gfx700;gfx701;gfx801;gfx803;gfx900;gfx902;gfx906" - "gfx908;gfx90a;gfx90c;gfx940;gfx1010;gfx1030" - "gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036" + "gfx908;gfx90a;gfx90c;gfx940;gfx941;gfx942" + "gfx1010;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034" + "gfx1035;gfx1036" "gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151") set(all_nvptx_architectures "sm_35;sm_37;sm_50;sm_52;sm_53;sm_60;sm_61;sm_62" "sm_70;sm_72;sm_75;sm_80;sm_86;sm_89;sm_90") |