]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
SYCL: Add fp16 type support to unary op kernels (llama/12788)
authorAkarshan Biswas <redacted>
Fri, 11 Apr 2025 08:03:50 +0000 (13:33 +0530)
committerGeorgi Gerganov <redacted>
Mon, 14 Apr 2025 07:35:15 +0000 (10:35 +0300)
commitde1a1d02b1b58da5cc14fc55f3d5994da88246d0
tree54ef084ed80c3e1043967b5c247520c33128d910
parent3b66a95ca437bae38f9168fd9cfbc8eb9c6ec432
SYCL: Add fp16 type support to unary op kernels (llama/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
src/ggml-sycl/element_wise.cpp
src/ggml-sycl/element_wise.hpp
src/ggml-sycl/ggml-sycl.cpp