mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-08 10:07:01 +00:00
ggml-zdnn: implement at least 1 op to test
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
|
||||
static bool ggml_backend_zdnn_compute_forward(struct ggml_backend_zdnn_context * ctx, struct ggml_tensor * dst) {
|
||||
switch (dst->op) {
|
||||
case GGML_OP_MUL_MAT:
|
||||
{
|
||||
std::raise(SIGINT);
|
||||
} break;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
@@ -154,6 +158,9 @@ static bool ggml_zdnn_supports_op(const struct ggml_backend_zdnn_device_context
|
||||
case GGML_OP_CONCAT:
|
||||
return true;
|
||||
|
||||
case GGML_OP_MUL_MAT:
|
||||
return true;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user