From 3081c4e768b96cc06f9553c4e5df765831a829b4 Mon Sep 17 00:00:00 2001 From: slaren Date: Sun, 24 Dec 2023 12:13:55 +0100 Subject: [PATCH] Update ggml-cuda.cu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Johannes Gäßler --- ggml-cuda.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml-cuda.cu b/ggml-cuda.cu index 167bcf1c5..01a7bc82e 100644 --- a/ggml-cuda.cu +++ b/ggml-cuda.cu @@ -6836,7 +6836,7 @@ void ggml_init_cublas() { alloc_prop.location.id = id; CU_CHECK(cuMemGetAllocationGranularity(&g_device_caps[id].vmm_granularity, &alloc_prop, CU_MEM_ALLOC_GRANULARITY_MINIMUM)); } -#endif +#endif // !defined(GGML_USE_HIPBLAS) g_device_caps[id].vmm = !!device_vmm; cudaDeviceProp prop;