WAITER WAITER MORE OPENMP CRAP PLEASE

This commit is contained in:
wuggy 2026-06-29 19:57:27 +01:00
commit 75ea9b2376

View file

@ -310,11 +310,10 @@ int TDStretch::seekBestOverlapPositionFull(const SAMPLETYPE *refPos)
const int nChannels = channels; const int nChannels = channels;
const SAMPLETYPE *midBuffer = pMidBuffer; const SAMPLETYPE *midBuffer = pMidBuffer;
#if defined(_OPENMP) #if defined(_OPENMP)
#pragma omp parallel for default(none) shared(refPos, bestCorr, bestOffs, midBuffer) private(i) schedule(static) #pragma omp parallel for default(none) shared(refPos, bestCorr, bestOffs, midBuffer) private(i) schedule(static)
#endif #endif
for (i = 1; i < seekLen; i ++) for (i = 1; i < seekLen; i ++)
{
double corr; double corr;
double localNorm; double localNorm;
// Calculates correlation value for the mixing position corresponding to 'i' // Calculates correlation value for the mixing position corresponding to 'i'