diff --git a/extra/sync-ggml.last b/extra/sync-ggml.last index 9166e0fa..354246a2 100644 --- a/extra/sync-ggml.last +++ b/extra/sync-ggml.last @@ -1 +1 @@ -965137f49917768959679a9e860dc414e170fd55 +3fd01e00e40583ccd4b393a7c6502d6a4455a1d5 diff --git a/ggml-cuda.cu b/ggml-cuda.cu index 2e759d43..52d3cc6a 100644 --- a/ggml-cuda.cu +++ b/ggml-cuda.cu @@ -10044,10 +10044,7 @@ static bool ggml_backend_cuda_supports_op(ggml_backend_t backend, const ggml_ten case GGML_OP_CONCAT: { ggml_type src0_type = op->src[0]->type; - if (src0_type != GGML_TYPE_I32 && src0_type != GGML_TYPE_I16) { - return true; - } - return false; + return src0_type != GGML_TYPE_I32 && src0_type != GGML_TYPE_I16; } break; case GGML_OP_NONE: case GGML_OP_RESHAPE: