Merge pull request #6846 from mbarnach:6086-cuda-initialization

This commit is contained in:
Alexander Alekhin 2016-07-11 14:01:51 +00:00
commit a6b33c3590

View File

@ -71,6 +71,7 @@ void cv::cuda::setDevice(int device)
throw_no_cuda();
#else
cudaSafeCall( cudaSetDevice(device) );
cudaSafeCall( cudaFree(0) );
#endif
}