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:
1 parent
ec6c09d0fa
commit
fccf9cae83
3 files changed
+778
-297
No files matched your search
+743
-248
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user