Remove unnecessary warning message

This commit is contained in:
0cc4m 2024-01-29 21:48:57 +01:00
parent f185d860e9
commit 8182ed1de6

View file

@ -686,7 +686,6 @@ static vk_buffer ggml_vk_create_buffer(size_t size, vk::MemoryPropertyFlags req_
}
if (memory_type_index >= mem_props.memoryTypeCount) {
std::cerr << "ggml_vulkan: No memory type found for requirements " << vk::to_string(req_flags) << std::endl;
throw vk::OutOfDeviceMemoryError("No suitable memory type found");
}