mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-23 23:57:31 +09:00
WAITER WAITER MORE OPENMP CRAP PLEASE
This commit is contained in:
parent
0aadba1a16
commit
75ea9b2376
1 changed files with 4 additions and 5 deletions
|
|
@ -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'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue