[Small] recording cv :: cuda :: Stream cudaStream_t removed and used to calculate the kernel function

Here is the code found

1 cv::cuda::Stream stream;
2 cudaStream_t s = cv::cuda::StreamAccessor::getStream(stream);
3 kernel_func<<<16, 64, 0, s>>>();

 

Guess you like

Origin www.cnblogs.com/ahfuzhang/p/10929608.html