Skip to content

Commit 514484c

Browse files
committed
Merge branch 'dev' of https://github.com/taskflow/taskflow into dev
2 parents 8c3611e + 04dfe79 commit 514484c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

doxygen/cookbook/Chapter6.dox

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,11 @@ You can run a %cudaFlow on multiple GPUs by explicitly associating a %cudaFlow o
125125
with a CUDA device.
126126
A CUDA device is an integer number in the range of <tt>[0, N)</tt>
127127
representing the identifier of a GPU, where @c N is the number of GPUs in a system.
128-
The code below creates a %cudaFlow that runs on the GPU device 2 through @c my_stream.
128+
The code below creates a %cudaFlow that runs on the GPU device.
129129

130130
@code{.cpp}
131131
taskflow.emplace([](tf::cudaFlow& cf) {
132132
cf.device(2);
133-
cf.stream(my_stream); // by default, a cudaFlow runs on a per-worker stream managed by the executor
134133
// adding more cudaTasks below (all tasks are placed on GPU 2 unless specified explicitly)
135134
});
136135
@endcode

0 commit comments

Comments
 (0)