Unverified Commit 303aaff7 authored by cihe13375's avatar cihe13375 Committed by GitHub
Browse files

SYNC_THREADS at the end of FFT (#4090)

parent a6c36418
...@@ -572,7 +572,7 @@ string CommonIntegrateRPMDStepKernel::createFFT(int size, const string& variable ...@@ -572,7 +572,7 @@ string CommonIntegrateRPMDStepKernel::createFFT(int size, const string& variable
if (stage%2 == 1) { if (stage%2 == 1) {
source<<"real0[indexInBlock] = real1[indexInBlock];\n"; source<<"real0[indexInBlock] = real1[indexInBlock];\n";
source<<"imag0[indexInBlock] = imag1[indexInBlock];\n"; source<<"imag0[indexInBlock] = imag1[indexInBlock];\n";
source<<"SYNC_WARPS;\n"; source<<"SYNC_THREADS;\n";
} }
source<<"}\n"; source<<"}\n";
return source.str(); return source.str();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment