Skip to content

Commit

Permalink
Add documentation for Pipeline::sub_pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
msimberg committed Sep 26, 2023
1 parent d9db5f8 commit 91d03cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/dlaf/common/pipeline.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ class Pipeline {
return pipeline->read();
}

// TODO: Documentation.
// TODO: Name?
/// Create a sub pipeline to the value contained in the current Pipeline
///
/// All accesses to the sub pipeline are sequenced after previous accesses and before later accesses to
/// the original pipeline, independently of when values are accessed in the sub pipeline.
Pipeline sub_pipeline() {
namespace ex = pika::execution::experimental;

Expand Down

0 comments on commit 91d03cd

Please sign in to comment.