Files
enginex-ascend-910-llama.cpp/ggml/src/ggml-cuda
Akarshan Biswas b66df9d9c9 CUDA: fix build error from ambiguous __half conversions in conv2d (#15690)
* CUDA: fix build error from ambiguous __half conversions in conv2d

Building conv2d with half precision failed because `__half` defines
multiple implicit conversion operators (to float, int, short, etc.),
causing ambiguous overload resolution when multiplying with float.

Introduce a templated `to_float` helper that explicitly converts
`__half` via `__half2float`, while passing through float unchanged.
Use this helper in conv2d accumulation to ensure unambiguous and
correct promotion to float.

Fixes some build errors with half-precision kernels on CUDA.

ggml-ci

* CUDA: Replace custom to_float helper with unified ggml_cuda_cast and add half‑>float conversion

* CUDA: Add missing convert.cuh header

* CUDA: remove unnecessary extension in ggml_cuda_cast

* CUDA: Address review comment, remove second type template argument
2025-09-01 06:55:06 +05:30
..
2025-08-20 10:17:37 +08:00
2025-08-05 22:10:36 +03:00
2024-11-21 18:18:50 +01:00
2025-06-20 09:50:24 +08:00
2025-06-20 09:50:24 +08:00
2025-08-28 20:33:03 +02:00
2025-08-21 11:06:05 +08:00
2025-08-21 11:06:05 +08:00
2025-08-05 22:10:36 +03:00
2025-06-22 12:39:54 +08:00
2025-08-21 11:06:05 +08:00
2025-08-21 11:06:05 +08:00
2025-08-21 11:06:05 +08:00
2025-08-21 11:06:05 +08:00
2025-07-29 14:45:18 +08:00
2025-07-29 14:45:18 +08:00
2025-07-09 18:16:12 +02:00
2025-07-29 14:22:03 +02:00
2025-07-29 14:22:03 +02:00
2025-08-05 22:10:36 +03:00
2025-03-31 18:05:13 +02:00
2025-03-31 18:05:13 +02:00
2025-06-22 12:39:54 +08:00
2025-08-05 22:10:36 +03:00
2025-08-05 22:10:36 +03:00