Replace `cudaStreamDefault`
cudaStreamDefault is a flag used for passing to cudaStreamCreateWithFlags instead of a valid stream. We should replace that with either rmm::cuda_stream_default or 0.
I can't find cudaStreamCreateWithFlags in our code - did you mean that cudaStreamDefault is passed into RMM functions (allocate/deallocate), and we should replace it with rmm::cuda_stream_default?
I can't find
cudaStreamCreateWithFlagsin our code - did you mean thatcudaStreamDefaultis passed into RMM functions (allocate/deallocate), and we should replace it withrmm::cuda_stream_default?
Yes. Basically we shouldn't pass cudaStreamDefault to a function that accepts cudaStream_t or rmm::cuda_stream. cudaStreamDefault is badly named in CUDA, and is not the default stream.