summaryrefslogtreecommitdiff
path: root/ggml-kompute.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ggml-kompute.cpp')
-rw-r--r--ggml-kompute.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ggml-kompute.cpp b/ggml-kompute.cpp
index 6c6058b2..ed59d2be 100644
--- a/ggml-kompute.cpp
+++ b/ggml-kompute.cpp
@@ -1597,7 +1597,9 @@ static void ggml_vk_graph_compute(struct ggml_kompute_context * ctx, struct ggml
{
GGML_ASSERT(ne00 == ne10);
- // TODO: assert that dim2 and dim3 are contiguous
+ ggml_is_contiguous_2(src0);
+ ggml_is_contiguous_2(src1);
+
GGML_ASSERT(ne12 % ne02 == 0);
GGML_ASSERT(ne13 % ne03 == 0);