summaryrefslogtreecommitdiff
path: root/ggml-kompute.cpp
diff options
context:
space:
mode:
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:
;
}