]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
cuda: add SET operation support (llama/16804)
authorYaelGitAccount <redacted>
Tue, 28 Oct 2025 19:10:28 +0000 (21:10 +0200)
committerGeorgi Gerganov <redacted>
Sun, 9 Nov 2025 21:38:03 +0000 (23:38 +0200)
commita983c9219d50c8162c788e22de8b08afa878e001
treef380c22423b28982a16dff8f5b8a7af869827ef5
parentf863a42d97b5e318f001bb3f0d740b7e335facd3
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>
ggml/src/ggml-cuda/ggml-cuda.cu
ggml/src/ggml-cuda/set.cu [new file with mode: 0644]
ggml/src/ggml-cuda/set.cuh [new file with mode: 0644]