pub unsafe fn set_stream(
gen: curandGenerator_t,
stream: cudaStream_t,
) -> Result<(), CurandError>Expand description
Bind gen to stream (curandSetStream).
ยงSafety
gen must be live; stream must be the raw cuStream pointer from
a cudarc::driver::CudaStream whose context owns gen.