File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -739,10 +739,7 @@ static vk_buffer ggml_vk_create_buffer_device(size_t size) {
739
739
} catch (const vk::SystemError& e) {
740
740
if (vk_device.uma ) {
741
741
// Fall back to host memory type
742
- buf = ggml_vk_create_buffer_check (
743
- size,
744
- /* required */ vk::MemoryPropertyFlagBits::eHostVisible | vk::MemoryPropertyFlagBits::eHostCoherent,
745
- /* optional */ vk::MemoryPropertyFlagBits::eHostCached);
742
+ buf = ggml_vk_create_buffer_check (size, vk::MemoryPropertyFlagBits::eHostVisible | vk::MemoryPropertyFlagBits::eHostCoherent);
746
743
} else {
747
744
std::cerr << " ggml_vulkan: Device memory allocation of size " << size << " failed." << std::endl;
748
745
std::cerr << " ggml_vulkan: " << e.what () << std::endl;
You can’t perform that action at this time.
0 commit comments