]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml : implement set_rows with i32 index (#16159)
authorSigbjørn Skjæret <redacted>
Mon, 22 Sep 2025 17:13:00 +0000 (19:13 +0200)
committerGitHub <redacted>
Mon, 22 Sep 2025 17:13:00 +0000 (19:13 +0200)
commit3ecb2f671a2f49d56357f99d135a94e841759178
tree4d43ba5cc004eb69a0d31a10d776d9d10bc2c914
parent432cf4304c5379bfbd1f3feed65ec205955b2f4b
ggml : implement set_rows with i32 index (#16159)

* implement set_rows with i32 index

* template fix

* test quantized path

warnings--

* Apply suggestions from code review

Co-authored-by: Georgi Gerganov <redacted>
* forgotten name change

* deduplicate cuda/sycl and test-fix

* indent++

* vulkan: support set_rows with i32 index type (#16162)

* disable i32 index for webgpu for now

---------

Co-authored-by: Georgi Gerganov <redacted>
Co-authored-by: Jeff Bolz <redacted>
17 files changed:
ggml/src/ggml-cpu/ops.cpp
ggml/src/ggml-cuda/ggml-cuda.cu
ggml/src/ggml-cuda/set-rows.cu
ggml/src/ggml-metal/ggml-metal-device.cpp
ggml/src/ggml-metal/ggml-metal-device.h
ggml/src/ggml-metal/ggml-metal-ops.cpp
ggml/src/ggml-metal/ggml-metal.metal
ggml/src/ggml-opencl/ggml-opencl.cpp
ggml/src/ggml-opencl/kernels/set_rows.cl
ggml/src/ggml-sycl/ggml-sycl.cpp
ggml/src/ggml-sycl/set_rows.cpp
ggml/src/ggml-vulkan/ggml-vulkan.cpp
ggml/src/ggml-vulkan/vulkan-shaders/copy_to_quant.comp
ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp
ggml/src/ggml-webgpu/ggml-webgpu.cpp
ggml/src/ggml.c
tests/test-backend-ops.cpp