Skip to content

Commit 49ab445

Browse files
committed
use sycl func to fix AOT double type issue
1 parent c299a92 commit 49ab445

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ggml/src/ggml-sycl/cpy.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ inline void cpy_blck_f32_nvfp4(const char * cxi, char * cdsti) {
317317

318318
const uint8_t ue = ggml_fp32_to_ue4m3(amax / 6.0f);
319319
dsti->d[s] = ue;
320-
const float d = ggml_ue4m3_to_fp32(ue);
320+
const float d = ggml_sycl_ue4m3_to_fp32(ue);
321321

322322
for (int j = 0; j < QK_NVFP4_SUB / 2; ++j) {
323323
const uint8_t x0 = best_index_mxfp4(xb[0 + j], d);

0 commit comments

Comments
 (0)