Skip to content
Snippets Groups Projects
Commit 9c7c21a5 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #4519: Minor cleanup

parent 4b37abfc
No related branches found
No related tags found
No related merge requests found
...@@ -96,15 +96,13 @@ namespace LOFAR ...@@ -96,15 +96,13 @@ namespace LOFAR
for (size_t i = 0; i < nrWorkQueues; ++i) { for (size_t i = 0; i < nrWorkQueues; ++i) {
gpu::Context context(devices[i % devices.size()]); gpu::Context context(devices[i % devices.size()]);
{ programs.firFilterProgram = createProgram(context, "FIR_Filter.cu", ptx["FIR_Filter.cu"]);
programs.firFilterProgram = createProgram(context, "FIR_Filter.cu", ptx["FIR_Filter.cu"]); programs.delayAndBandPassProgram = createProgram(context, "DelayAndBandPass.cu", ptx["DelayAndBandPass.cu"]);
programs.delayAndBandPassProgram = createProgram(context, "DelayAndBandPass.cu", ptx["DelayAndBandPass.cu"]);
#if defined USE_NEW_CORRELATOR #if defined USE_NEW_CORRELATOR
programs.correlatorProgram = createProgram(context, "NewCorrelator.cu", ptx["NewCorrelator.cu"]); programs.correlatorProgram = createProgram(context, "NewCorrelator.cu", ptx["NewCorrelator.cu"]);
#else #else
programs.correlatorProgram = createProgram(context, "Correlator.cu", ptx["Correlator.cu"]); programs.correlatorProgram = createProgram(context, "Correlator.cu", ptx["Correlator.cu"]);
#endif #endif
}
workQueues[i] = new CorrelatorWorkQueue(ps, context, programs, filterBank); workQueues[i] = new CorrelatorWorkQueue(ps, context, programs, filterBank);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment