We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c3611e + 04dfe79 commit 514484cCopy full SHA for 514484c
1 file changed
doxygen/cookbook/Chapter6.dox
@@ -125,12 +125,11 @@ You can run a %cudaFlow on multiple GPUs by explicitly associating a %cudaFlow o
125
with a CUDA device.
126
A CUDA device is an integer number in the range of <tt>[0, N)</tt>
127
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.
+The code below creates a %cudaFlow that runs on the GPU device.
129
130
@code{.cpp}
131
taskflow.emplace([](tf::cudaFlow& cf) {
132
cf.device(2);
133
- cf.stream(my_stream); // by default, a cudaFlow runs on a per-worker stream managed by the executor
134
// adding more cudaTasks below (all tasks are placed on GPU 2 unless specified explicitly)
135
});
136
@endcode
0 commit comments