From 182f418ba0af251b1769d8fceb02fd6c74b1f393 Mon Sep 17 00:00:00 2001 From: uvos Date: Sun, 2 Feb 2025 20:56:43 +0100 Subject: [PATCH] Update ggml/src/ggml-cuda/common.cuh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Johannes Gäßler --- ggml/src/ggml-cuda/common.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml/src/ggml-cuda/common.cuh b/ggml/src/ggml-cuda/common.cuh index b8796aadb..2c43b3a99 100644 --- a/ggml/src/ggml-cuda/common.cuh +++ b/ggml/src/ggml-cuda/common.cuh @@ -172,7 +172,7 @@ static constexpr __device__ int ggml_cuda_get_physical_warp_size() { return __AMDGCN_WAVEFRONT_SIZE; #else return 32; -#endif +#endif // defined(GGML_USE_HIP) && defined(__HIP_PLATFORM_AMD__) } [[noreturn]]