SYCL: Add fp16 type support to unary op kernels (#12788)

* SYCL: Add fp16 support to some elementwise OP kernels

* remove comment

ggml-ci

* Use static_cast directly

* remove not needed cast from tanh

* Use static cast and remove unneeded castings

* Adjust device_support_op for unary OPs

* Use cast_data and typed_data struct to deduplicate casting code
This commit is contained in:
Akarshan Biswas authored and GitHub committed 2025-04-11 16:03:50 +08:00
1 parent ec6c09d0fa
commit fccf9cae83
3 files changed
+778 -297

No files matched your search

File diff suppressed because it is too large. Load diff