From aae7a84fb277beb8b50371a7cc72c86d39917240 Mon Sep 17 00:00:00 2001 From: Gerardo Hernandez Date: Mon, 2 Jun 2025 14:22:16 +0100 Subject: [PATCH] SWDEV-535598 - use __builtin_is_constant_evaluated() instead of std::is_constant_evaluated() as another part of the code used it --- include/ck/utility/get_id.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ck/utility/get_id.hpp b/include/ck/utility/get_id.hpp index 222f1a65e9..e350adbc1a 100644 --- a/include/ck/utility/get_id.hpp +++ b/include/ck/utility/get_id.hpp @@ -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;