Skip to content

Commit 9cb9260

Browse files
smesoggerganov
authored andcommitted
vulkan: correctly report support for OP_CONT (ggml/946)
test-backend-ops fails because ggml_cont aborts when invoked passing an unsupported type. This commit makes ggml_cont tests pass Signed-off-by: Salvatore Mesoraca <[email protected]>
1 parent 202084d commit 9cb9260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-vulkan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6602,6 +6602,7 @@ GGML_CALL static bool ggml_backend_vk_supports_op(ggml_backend_t backend, const
66026602
return false;
66036603
}
66046604
} break;
6605+
case GGML_OP_CONT:
66056606
case GGML_OP_CPY:
66066607
case GGML_OP_DUP:
66076608
{
@@ -6642,7 +6643,6 @@ GGML_CALL static bool ggml_backend_vk_supports_op(ggml_backend_t backend, const
66426643
case GGML_OP_COS:
66436644
case GGML_OP_CLAMP:
66446645
case GGML_OP_PAD:
6645-
case GGML_OP_CONT:
66466646
case GGML_OP_DIAG_MASK_INF:
66476647
case GGML_OP_SOFT_MAX:
66486648
case GGML_OP_ARGSORT:

0 commit comments

Comments
 (0)