Skip to content

Commit

Permalink
Fix NDRange calls FFT
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Meyer committed Oct 8, 2021
1 parent 26c05f8 commit cf6ce3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions FFT/src/host/execution_default.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ namespace bm_execution {
for (uint r =0; r < config.programSettings->numRepetitions; r++) {
auto startCalculation = std::chrono::high_resolution_clock::now();
for (int r=0; r < config.programSettings->kernelReplications; r++) {
fetchQueues[r].enqueueNDRangeKernel(fetchKernels[r], cl::NullRange, cl::NDRange(1));
fftQueues[r].enqueueNDRangeKernel(fftKernels[r], cl::NullRange, cl::NDRange(1));
fetchQueues[r].enqueueNDRangeKernel(fetchKernels[r], cl::NullRange, cl::NDRange(1), cl::NDRange(1));
fftQueues[r].enqueueNDRangeKernel(fftKernels[r], cl::NullRange, cl::NDRange(1), cl::NDRange(1));
#ifdef XILINX_FPGA
storeQueues[r].enqueueNDRangeKernel(storeKernels[r], cl::NullRange, cl::NDRange(1));
storeQueues[r].enqueueNDRangeKernel(storeKernels[r], cl::NullRange, cl::NDRange(1), cl::NDRange(1));
#endif
}
for (int r=0; r < config.programSettings->kernelReplications; r++) {
Expand Down

0 comments on commit cf6ce3b

Please sign in to comment.