Skip to content

Commit 4f9a2d4

Browse files
committed
disable APIR_ALLOC_FROM_HOST_PTR
1 parent 5596265 commit 4f9a2d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ggml/src/ggml-remotingbackend/shared/apir_backend.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#define APIR_BACKEND_FORWARD_INDEX_INVALID 6
1616

17-
#define APIR_ALLOC_FROM_HOST_PTR 1
17+
#define APIR_ALLOC_FROM_HOST_PTR 0
1818

1919
typedef uintptr_t apir_buffer_type_host_handle_t;
2020
typedef uintptr_t apir_buffer_host_handle_t;

ggml/src/ggml-remotingfrontend/virtgpu-forward-buffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ apir_buffer_set_tensor(struct virtgpu *gpu, apir_buffer_context_t *buffer_contex
6464
return;
6565
}
6666

67-
#if APIR_ALLOC_FROM_HOST_PTR
67+
#if false
6868
void
6969
apir_buffer_get_tensor(struct virtgpu *gpu, apir_buffer_context_t *buffer_context,
7070
const ggml_tensor *tensor, void *data, size_t offset, size_t size) {

0 commit comments

Comments
 (0)