llama.cpp
203b7f15 - vulkan : initialize vk_buffer_struct members to VK_NULL_HANDLE (ggml/893)

Commit
1 year ago
vulkan : initialize vk_buffer_struct members to VK_NULL_HANDLE (ggml/893) This prevents invalid frees when destroying a partially initialized vk_buffer_struct. For example, this could happen in ggml_vk_create_buffer when running out of device memory. Co-authored-by: Tony Wasserka <neobrain@users.noreply.github.com>
Author
Committer
Parents
Loading