Define CHAR_BIT during hipRTC (#2264)

* Fix failing codegen tests.

* fix clang format

---------

Co-authored-by: illsilin <Illia.Silin@amd.com>

[ROCm/composable_kernel commit: fbce6c7bb6]
This commit is contained in:
Mirza Halilčević
2025-05-30 17:23:44 +02:00
committed by GitHub
parent f1cf8b77ad
commit fff9030340

View File

@@ -11,6 +11,7 @@
/// /opt/rocm/include/hip/amd_detail/amd_hip_vector_types.h.
#if defined(__HIPCC_RTC__) || defined(CK_CODE_GEN_RTC)
#define CHAR_BIT 8
using int8_t = signed char;
using uint8_t = unsigned char;
using int16_t = signed short;