]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml: allow casting between f32 and i32 (llama/15783)
authorXuan-Son Nguyen <redacted>
Mon, 8 Sep 2025 10:33:01 +0000 (17:33 +0700)
committerGeorgi Gerganov <redacted>
Sat, 20 Sep 2025 10:42:51 +0000 (13:42 +0300)
commit40bcd1a469b355833921b896610068702023362e
treec417ac5084ee3fab0a2a15e727b51b38d3f1c912
parent0175a1df8db5da510a102509d83b34514373a3fa
ggml: allow casting between f32 and i32 (llama/15783)

* ggml: allow casting between f32 and i32

* fix cuda

* add vulkan

* fix CPU non-cont

* add non-cont test case

* add note

* extend test number range

* correct note

* add cont version for vulkan
ggml/include/ggml-cpu.h
ggml/include/ggml.h
ggml/src/ggml-cpu/ggml-cpu.c
ggml/src/ggml-cpu/ops.cpp
ggml/src/ggml-cuda/convert.cuh
ggml/src/ggml-cuda/cpy.cu
ggml/src/ggml-cuda/ggml-cuda.cu
ggml/src/ggml-metal/ggml-metal.m
ggml/src/ggml-metal/ggml-metal.metal
ggml/src/ggml-vulkan/ggml-vulkan.cpp
ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp