ocl: fix FFT initialization
This commit is contained in:
parent
9acca12d2d
commit
e7fd053478
@ -126,7 +126,8 @@ void cv::ocl::fft_setup()
|
||||
{
|
||||
return;
|
||||
}
|
||||
pCache.setupData = new clAmdFftSetupData;
|
||||
if (pCache.setupData == NULL)
|
||||
pCache.setupData = new clAmdFftSetupData;
|
||||
openCLSafeCall(clAmdFftInitSetupData( pCache.setupData ));
|
||||
pCache.started = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user