mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-08-06 10:00:53 -05:00
ggml-zdnn : mark zDNN buffers as non-host (llama/18967)
While buffers reside in host memory, additional transformation is needed to use buffers with zDNN. Fixes #18848
This commit is contained in:
committed by
Georgi Gerganov
parent
b7e323f40b
commit
55927d42ef
@@ -372,7 +372,8 @@ static size_t ggml_backend_zdnn_buffer_type_get_alignment(ggml_backend_buffer_ty
|
||||
}
|
||||
|
||||
static bool ggml_backend_zdnn_buffer_type_is_host(ggml_backend_buffer_type_t buft) {
|
||||
return true;
|
||||
/* while it resides in host memory, additional transformation is needed */
|
||||
return false;
|
||||
|
||||
GGML_UNUSED(buft);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user