]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
cuda: add SET operation support (#16804)
authorYaelGitAccount <redacted>
Tue, 28 Oct 2025 19:10:28 +0000 (21:10 +0200)
committerGitHub <redacted>
Tue, 28 Oct 2025 19:10:28 +0000 (20:10 +0100)
commit851553ea6b24cb39fd5fd188b437d777cb411de8
treea5edb95ed131f775173cb258c8589d0e5e3b59e3
parent85a7d8677bf2200981e52f744a21d5267964ffcf
cuda: add SET operation support (#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]