pub fn multi_stream_launch_uniform<A: KernelArgs>(
kernel: &Kernel,
streams: &[&Stream],
params: &LaunchParams,
args: &A,
) -> CudaResult<()>Expand description
Launches the same kernel across multiple streams with uniform parameters and arguments.
This is a convenience wrapper around multi_stream_launch for the
common case where every stream uses identical launch parameters and
arguments.
§Parameters
kernel— the kernel to launch on every stream.streams— slice of streams to launch on.params— launch parameters shared by all streams.args— kernel arguments shared by all streams.
§Errors
CudaError::InvalidValueifstreamsis empty.- Any error from an individual kernel launch.