tests : add non-cont unary tests (#7857)

* tests : add non-cont unary tests

* ggml : update unary asserts and "supports_op"

ggml-ci
This commit is contained in:
Georgi Gerganov authored and GitHub committed 2024-06-12 16:00:22 +03:00
1 parent bfaa676b08
commit a9cae48003
8 files changed
+90 -66

No files matched your search

+1 -1
View File
@@ -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:
;
}