summaryrefslogtreecommitdiff
path: root/ggml-kompute.cpp
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-06-12 16:00:22 +0300
committerGitHub <noreply@github.com>2024-06-12 16:00:22 +0300
commita9cae48003dfc4fe95b8f5c81682fc6e63425235 (patch)
tree36765340a3c000159361c32f379016b05e3db5d0 /ggml-kompute.cpp
parentbfaa676b0841617d4ef3596e63aca6be1a8eb1b5 (diff)
tests : add non-cont unary tests (#7857)
* tests : add non-cont unary tests * ggml : update unary asserts and "supports_op" ggml-ci
Diffstat (limited to 'ggml-kompute.cpp')
-rw-r--r--ggml-kompute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml-kompute.cpp b/ggml-kompute.cpp
index 5592741b..18c6f4a1 100644
--- a/ggml-kompute.cpp
+++ b/ggml-kompute.cpp
@@ -1340,7 +1340,7 @@ static bool ggml_vk_supports_op(const struct ggml_tensor * op) {
case GGML_UNARY_OP_RELU:
case GGML_UNARY_OP_GELU:
case GGML_UNARY_OP_SILU:
- return true;
+ return ggml_is_contiguous(op->src[0]);
default:
;
}