Commit 7f3a72a
authored
ggml : remove redundant n_copies check when setting input/output (#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.1 parent b9a3771 commit 7f3a72a
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1240 | 1240 | | |
1241 | 1241 | | |
1242 | 1242 | | |
1243 | | - | |
1244 | | - | |
1245 | | - | |
1246 | | - | |
| 1243 | + | |
| 1244 | + | |
1247 | 1245 | | |
1248 | 1246 | | |
1249 | 1247 | | |
| |||
0 commit comments