Skip to content

Commit 2c9c3c2

Browse files
update comment
Co-authored-by: Johannes Gäßler <[email protected]>
1 parent e7f3158 commit 2c9c3c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/common.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ struct ggml_cuda_concurrent_event {
10081008
}
10091009

10101010
// 1. check if any branches write to overlapping memory ranges (except the join node)
1011-
// 2. check all srcs are either within the branch or outside the event
1011+
// 2. check whether all srcs are either within the branch or outside the nodes covered by ggml_cuda_concurrent_event
10121012
// we assume all nodes have the same buffer
10131013
bool is_valid() const {
10141014
std::vector<std::vector<std::pair<int64_t, int64_t>>> write_ranges;

0 commit comments

Comments
 (0)