File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
libc/src/math/gpu/vendor/amdgpu Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ extern const LIBC_INLINE_VAR uint32_t __oclc_ISA_version = 11003;
110
110
extern const LIBC_INLINE_VAR uint32_t __oclc_ISA_version = 11500 ;
111
111
#elif defined(__gfx1151__)
112
112
extern const LIBC_INLINE_VAR uint32_t __oclc_ISA_version = 11501 ;
113
+ #elif defined(__gfx1152__)
114
+ extern const LIBC_INLINE_VAR uint32_t __oclc_ISA_version = 11502 ;
113
115
#else
114
116
#error "Unknown AMDGPU architecture"
115
117
#endif
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ endif()
28
28
set (optimization_level 2 )
29
29
30
30
# Get list of AMD GPUs to build for
31
- set (amdgpu_mcpus gfx700 gfx701 gfx801 gfx803 gfx900 gfx902 gfx906 gfx908 gfx90a gfx90c gfx940 gfx941 gfx942 gfx1010 gfx1030 gfx1031 gfx1032 gfx1033 gfx1034 gfx1035 gfx1036 gfx1100 gfx1101 gfx1102 gfx1103 gfx1150 gfx1151 gfx1200 gfx1201 )
31
+ set (amdgpu_mcpus gfx700 gfx701 gfx801 gfx803 gfx900 gfx902 gfx906 gfx908 gfx90a gfx90c gfx940 gfx941 gfx942 gfx1010 gfx1030 gfx1031 gfx1032 gfx1033 gfx1034 gfx1035 gfx1036 gfx1100 gfx1101 gfx1102 gfx1103 gfx1150 gfx1151 gfx1152 gfx1200 gfx1201 )
32
32
if (DEFINED LIBOMPTARGET_AMDGCN_GFXLIST )
33
33
set (amdgpu_mcpus ${LIBOMPTARGET_AMDGCN_GFXLIST} )
34
34
endif ()
You can’t perform that action at this time.
0 commit comments