mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-29 09:27:33 -05:00
skip dmabuf_p2p when one device is nvidia, due to driver crashes
This commit is contained in:
@@ -15725,7 +15725,8 @@ static void ggml_vk_bench_pair(
|
||||
// device via dma-buf fd — true zero-copy if PCIe P2P works.
|
||||
// Setup (export/import) is outside the timing loop.
|
||||
// =================================================================
|
||||
if (dev0->external_memory_dma_buf && dev1->external_memory_dma_buf) {
|
||||
if (dev0->external_memory_dma_buf && dev1->external_memory_dma_buf &&
|
||||
!((dev0->vendor_id == VK_VENDOR_ID_NVIDIA) != (dev1->vendor_id == VK_VENDOR_ID_NVIDIA))) {
|
||||
bool setup_ok = true;
|
||||
|
||||
// Create exportable source buffer on dev0
|
||||
|
||||
Reference in New Issue
Block a user