diff --git a/RTCP/Cobalt/GPUProc/src/gpu_load.cc b/RTCP/Cobalt/GPUProc/src/gpu_load.cc index b1721d8e0f19aa77a39ffb64ea236bef1fc97f79..bd77798a6e9d50bae733cf4675f578c73c785ebe 100644 --- a/RTCP/Cobalt/GPUProc/src/gpu_load.cc +++ b/RTCP/Cobalt/GPUProc/src/gpu_load.cc @@ -113,18 +113,21 @@ int main(int argc, char **argv) { // Initialize subbands partitioning administration (struct BlockID). We only // do the 1st block of whatever. - in.blockID.block = 0; - in.blockID.globalSubbandIdx = 0; - in.blockID.localSubbandIdx = 0; - in.blockID.subbandProcSubbandIdx = 0; - - size_t block(0); - LOG_INFO("Processing ..."); - for (block = 0; block < nrBlocksPerIntegration && !out.emit_correlatedData; block++) { - LOG_DEBUG_STR("Processing block #" << block); - cwq.processSubband(in, out); - cwq.postprocessSubband(out); + for(size_t iteration = 0; iteration < 10; iteration++) { + in.blockID.block = 0; + in.blockID.globalSubbandIdx = 0; + in.blockID.localSubbandIdx = 0; + in.blockID.subbandProcSubbandIdx = 0; + out.emit_correlatedData = false; + + size_t block(0); + + for (block = 0; block < nrBlocksPerIntegration && !out.emit_correlatedData; block++) { + LOG_DEBUG_STR("Processing block #" << block); + cwq.processSubband(in, out); + cwq.postprocessSubband(out); + } } return 0;