mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-08 10:07:01 +00:00
ggml-zdnn: fix missing return from init_tensor
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
This commit is contained in:
@@ -56,9 +56,8 @@ inline void ggml_zdnn_load_tensor(zdnn_ztensor & ztensor,
|
||||
inline void ggml_zdnn_init_tensor(ggml_backend_zdnn_buffer * buffer, const ggml_tensor * tensor) {
|
||||
switch (tensor->op) {
|
||||
case GGML_OP_NONE:
|
||||
{
|
||||
// noop here because we will initialise it during the compute graph execution
|
||||
} break;
|
||||
// noop here because we will initialise it during the compute graph execution
|
||||
return;
|
||||
|
||||
case GGML_OP_MUL_MAT:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user