diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2024-05-29 20:45:25 +0300 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2024-05-29 20:45:25 +0300 |
commit | 975ec63ff26cdf96156d1126d86f75a395fdc43a (patch) | |
tree | d64e3f95dcc9d47b26d35fdefffbc8fda78dde11 /ggml-kompute.cpp | |
parent | fb76ec31a9914b7761c1727303ab30380fd4f05c (diff) |
metal : add missing asserts (#7617)
Diffstat (limited to 'ggml-kompute.cpp')
-rw-r--r-- | ggml-kompute.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ggml-kompute.cpp b/ggml-kompute.cpp index ed59d2be..18ce95eb 100644 --- a/ggml-kompute.cpp +++ b/ggml-kompute.cpp @@ -1597,8 +1597,8 @@ static void ggml_vk_graph_compute(struct ggml_kompute_context * ctx, struct ggml { GGML_ASSERT(ne00 == ne10); - ggml_is_contiguous_2(src0); - ggml_is_contiguous_2(src1); + GGML_ASSERT(ggml_is_contiguous_2(src0)); + GGML_ASSERT(ggml_is_contiguous_2(src1)); GGML_ASSERT(ne12 % ne02 == 0); GGML_ASSERT(ne13 % ne03 == 0); |