]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
cuda: add SET operation support (llama/16804)
authorYaelGitAccount <redacted>
Tue, 28 Oct 2025 19:10:28 +0000 (21:10 +0200)
committerGeorgi Gerganov <redacted>
Sat, 1 Nov 2025 07:41:35 +0000 (09:41 +0200)
commit7a6837027eb8ddfff652e809f736e90bdde29859
tree8a26d3f96468ef5184f49ab231cc35912e4e08d5
parentcfa65d630b075e067960718a3d4002153b0b590a
cuda: add SET operation support (llama/16804)

* feat(cuda): add GGML_OP_SET support

Implement CUDA kernel for SET operation with f32 support.

All tests passing (14598/14598).

* cuda(set): add I32 support; keep F32

* refactor(cuda): use ggml_cuda_cpy to unify SET operator logic and remove code duplication

* Update ggml/src/ggml-cuda/ggml-cuda.cu

Co-authored-by: Sigbjørn Skjæret <redacted>
* Update ggml/src/ggml-cuda/set.cu

Co-authored-by: Sigbjørn Skjæret <redacted>
---------

Co-authored-by: Sigbjørn Skjæret <redacted>
src/ggml-cuda/ggml-cuda.cu
src/ggml-cuda/set.cu [new file with mode: 0644]
src/ggml-cuda/set.cuh [new file with mode: 0644]