mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
Merge pull request #6846 from mbarnach:6086-cuda-initialization
This commit is contained in:
commit
a6b33c3590
@ -71,6 +71,7 @@ void cv::cuda::setDevice(int device)
|
||||
throw_no_cuda();
|
||||
#else
|
||||
cudaSafeCall( cudaSetDevice(device) );
|
||||
cudaSafeCall( cudaFree(0) );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user