SYCL: add back GGML_USED(dst) to ggml_sycl_cpy

This commit is contained in:
Akarshan Biswas 2025-01-07 16:58:09 +05:30
parent 31f3626b16
commit a28663fcb2
No known key found for this signature in database
GPG key ID: 52A578A14B32134D

View file

@ -3787,6 +3787,7 @@ static void ggml_sycl_cpy(ggml_backend_sycl_context & ctx, const ggml_tensor *sr
ggml_type_name(src0->type), ggml_type_name(src1->type));
GGML_ABORT("fatal error");
}
GGML_UNUSED(dst);
}
catch (sycl::exception const &exc) {
std::cerr << exc.what() << "Exception caught at file:" << __FILE__