]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
HIP: disable sync warp shuffel operators from clr amd_warp_sync_functions.h (#15273)
authoruvos <redacted>
Tue, 12 Aug 2025 20:15:12 +0000 (22:15 +0200)
committerGitHub <redacted>
Tue, 12 Aug 2025 20:15:12 +0000 (22:15 +0200)
ggml/src/ggml-cuda/fattn-wmma-f16.cu
ggml/src/ggml-cuda/vendors/hip.h

index fdc4d17da2da962e64afd3708e9101afa8c38964..6bc7943ccd51cbbdac82cde6e4d19009c356e5b3 100644 (file)
@@ -15,7 +15,6 @@ namespace wmma = mtmusa::wmma;
 namespace wmma = nvcuda::wmma;
 #endif // GGML_USE_MUSA
 #elif defined(GGML_HIP_ROCWMMA_FATTN) && defined(FP16_MMA_AVAILABLE)
-#undef HIP_ENABLE_WARP_SYNC_BUILTINS // conflicts with rocWMMA headers
 #include <rocwmma/rocwmma.hpp>
 namespace wmma = rocwmma;
 #endif // !defined(GGML_USE_HIP)
index c31f3192322529b77be55aa1ffa36a201a5ede03..96f8bc75e9643b9097b85cf02bcb91050e60602a 100644 (file)
@@ -1,6 +1,6 @@
 #pragma once
 
-#define HIP_ENABLE_WARP_SYNC_BUILTINS 1
+#define HIP_DISABLE_WARP_SYNC_BUILTINS 1
 #include <hip/hip_runtime.h>
 #include <hipblas/hipblas.h>
 #include <hip/hip_fp16.h>