Files
Strata/engine/include/strata/kernels
Niko1221 e3b43127dd kv_fp8.hpp: __builtin_memcpy under clang HIP (Windows build of the QSA kernels)
kv_fp8_to_f32 / f32_to_kv_fp8 are __host__ __device__ and used std::memcpy.
clang HIP with the MSVC STL treats std::memcpy as a host-only function inside
a host-device function, so qsa_prompt_attn.cu / qsa_decode_attn.cu failed to
compile for every RDNA target on Windows ("reference to __host__ function
'memcpy' in __host__ __device__ function"). Linux builds were unaffected
(libstdc++ declares it device-callable).

STRATA_KVF8_MEMCPY is __builtin_memcpy on __HIPCC__ and std::memcpy
everywhere else, so the CUDA, Metal and CPU object code is unchanged.
2026-12-04 12:01:18 +01:00
..