]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml : remove redundant n_copies check when setting input/output (llama/17612)
authorDaniel Bevenius <redacted>
Tue, 2 Dec 2025 11:52:45 +0000 (12:52 +0100)
committerGeorgi Gerganov <redacted>
Fri, 12 Dec 2025 15:53:15 +0000 (17:53 +0200)
commit201b9107434d181ab54d607b49e82de941ba7b6f
treeaeb45d9df0db352e9ce3f49e2bd4302100a678c0
parente2537b4af33320992fc7ca786d40af04befcd42c
ggml : remove redundant n_copies check when setting input/output (llama/17612)

This commit removes a redundant check for sched->n_copies > 1 when
setting input and output flags on tensor copies in
ggml_backend_sched_split_graph.

The motivation for this change is to clarify the code as the outer if
statement already performs this check.
ggml/src/ggml-backend.cpp