Skip to content

Commit b884a7f

Browse files
committed
try switch back to size max for vulkan
1 parent ace537d commit b884a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-vulkan/ggml-vulkan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9566,7 +9566,7 @@ ggml_backend_buffer_type_t ggml_backend_vk_host_buffer_type() {
95669566
/* .get_name = */ ggml_backend_vk_host_buffer_type_name,
95679567
/* .alloc_buffer = */ ggml_backend_vk_host_buffer_type_alloc_buffer,
95689568
/* .get_alignment = */ ggml_backend_vk_host_buffer_type_get_alignment,
9569-
/* .get_max_size = */ ggml_backend_vk_host_buffer_type_get_max_size,
9569+
/* .get_max_size = */ NULL, // defaults to SIZE_MAX
95709570
/* .get_alloc_size = */ ggml_backend_cpu_buffer_type()->iface.get_alloc_size,
95719571
/* .is_host = */ ggml_backend_cpu_buffer_type()->iface.is_host,
95729572
},

0 commit comments

Comments
 (0)