[ROCm] warpSize is being made non constexpr in ROCm 7.0 (#20330)

Signed-off-by: Gregory Shtrasberg <Gregory.Shtrasberg@amd.com>
This commit is contained in:
Gregory Shtrasberg
2025-07-15 14:01:44 -04:00
committed by GitHub
parent b637e9dcb8
commit ed10f3cea1
4 changed files with 6 additions and 24 deletions
+3 -3
View File
@@ -4,10 +4,10 @@
#include <hip/hip_runtime.h>
#endif
#ifndef USE_ROCM
#define WARP_SIZE 32
#if defined(USE_ROCM) && defined(__GFX9__)
#define WARP_SIZE 64
#else
#define WARP_SIZE warpSize
#define WARP_SIZE 32
#endif
#ifndef USE_ROCM