mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-07-18 17:48:06 +00:00
SWDEV-535598 - use __builtin_is_constant_evaluated() instead of std::is_constant_evaluated() as another part of the code used it
This commit is contained in:
@@ -9,7 +9,7 @@ namespace ck {
|
||||
|
||||
__host__ __device__ constexpr index_t get_warp_size()
|
||||
{
|
||||
if (std::is_constant_evaluated()) {
|
||||
if (__builtin_is_constant_evaluated()) {
|
||||
// this is only for cases where the use of constexpr cannot be avoided
|
||||
#if defined(__GFX9__)
|
||||
return 64;
|
||||
|
||||
Reference in New Issue
Block a user