Modify according to @alalek.

pull/1383/head
peng xiao 11 years ago
parent 3c2a8912ee
commit 7b3e3f69fb
  1. 3
      modules/ocl/src/gemm.cpp

@ -81,12 +81,15 @@ static Mutex cs;
void cv::ocl::clBlasSetup()
{
if(!clBlasInitialized)
{
AutoLock al(cs);
if(!clBlasInitialized)
{
openCLSafeCall(clAmdBlasSetup());
clBlasInitialized = true;
}
}
}
void cv::ocl::clBlasTeardown()

Loading…
Cancel
Save