mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-11 13:30:35 +00:00
parent
4301535326
commit
27609c49b9
@ -256,7 +256,7 @@ GGML_API GGML_CALL void ggml_backend_tensor_memset(struct ggml_tensor * tensor,
|
|||||||
if (!size) {
|
if (!size) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
GGML_ASSERT(buf->iface.memset_tensor != NULL && "memset not supported by backend buffer");
|
GGML_ASSERT(buf->iface.memset_tensor != NULL && "memset not supported by backend buffer");
|
||||||
|
|
||||||
buf->iface.memset_tensor(buf, tensor, value, offset, size);
|
buf->iface.memset_tensor(buf, tensor, value, offset, size);
|
||||||
|
Loading…
Reference in New Issue
Block a user