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:
Gerardo Hernandez
2025-06-02 14:22:16 +01:00
parent 05598cecee
commit aae7a84fb2

View File

@@ -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;