We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c3fbf9 commit a76cadaCopy full SHA for a76cada
ggml-cuda.cu
@@ -6840,7 +6840,7 @@ void ggml_init_cublas() {
6840
alloc_prop.type = CU_MEM_ALLOCATION_TYPE_PINNED;
6841
alloc_prop.location.type = CU_MEM_LOCATION_TYPE_DEVICE;
6842
alloc_prop.location.id = id;
6843
- CU_CHECK(cuMemGetAllocationGranularity(&g_device_caps[id].vmm_granularity, &alloc_prop, CU_MEM_ALLOC_GRANULARITY_MINIMUM));
+ CU_CHECK(cuMemGetAllocationGranularity(&g_device_caps[id].vmm_granularity, &alloc_prop, CU_MEM_ALLOC_GRANULARITY_RECOMMENDED));
6844
}
6845
#endif // !defined(GGML_USE_HIPBLAS)
6846
g_device_caps[id].vmm = !!device_vmm;
0 commit comments