]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
sycl : use sycl func to fix AOT double type issue (#25081)
authorNeo Zhang <redacted>
Tue, 7 Jul 2026 07:38:33 +0000 (15:38 +0800)
committerGitHub <redacted>
Tue, 7 Jul 2026 07:38:33 +0000 (10:38 +0300)
ggml/src/ggml-sycl/cpy.hpp

index 62ff34c87933bbca563f32b2e6c098440e78241d..c4cfd961da2ac3013949816aee69d994295a7f82 100644 (file)
@@ -317,7 +317,7 @@ inline void cpy_blck_f32_nvfp4(const char * cxi, char * cdsti) {
 
         const uint8_t ue = ggml_fp32_to_ue4m3(amax / 6.0f);
         dsti->d[s] = ue;
-        const float d = ggml_ue4m3_to_fp32(ue);
+        const float d = ggml_sycl_ue4m3_to_fp32(ue);
 
         for (int j = 0; j < QK_NVFP4_SUB / 2; ++j) {
             const uint8_t x0 = best_index_mxfp4(xb[0 + j], d);