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 2025-04-11 13:33:50 +05:30 committed by GitHub
parent ec6c09d0fa
commit fccf9cae83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 778 additions and 297 deletions

File diff suppressed because it is too large Load diff