diff --git a/RTCP/Cobalt/GPUProc/src/cuda/SubbandProcs/SubbandProc.cc b/RTCP/Cobalt/GPUProc/src/cuda/SubbandProcs/SubbandProc.cc index 6f33de85b0c8adb272fc8b2591de7f4bb479a978..300cd256401a6697d690857c4a91947318052438 100644 --- a/RTCP/Cobalt/GPUProc/src/cuda/SubbandProcs/SubbandProc.cc +++ b/RTCP/Cobalt/GPUProc/src/cuda/SubbandProcs/SubbandProc.cc @@ -227,7 +227,7 @@ namespace LOFAR { // If we delay the reception of the DONE signal from the GPU, // we can't schedule the next batch of work in time. - Thread::ScopedPriority sp(SCHED_RR, 10); + //Thread::ScopedPriority sp(SCHED_RR, 10); queue.synchronize(); } diff --git a/RTCP/Cobalt/GPUProc/src/cuda/gpu_wrapper.h b/RTCP/Cobalt/GPUProc/src/cuda/gpu_wrapper.h index 30fb1b0eadba65d787cdc35798d797ffdc7836e5..831a5e0599300a60d566724f81bd0dafceea0552 100644 --- a/RTCP/Cobalt/GPUProc/src/cuda/gpu_wrapper.h +++ b/RTCP/Cobalt/GPUProc/src/cuda/gpu_wrapper.h @@ -235,7 +235,7 @@ namespace LOFAR // CU_CTX_SCHED_BLOCKING_SYNC: // Instruct CUDA to block the CPU thread on a synchronization primitive // when waiting for the GPU to finish work. - Context(const Device &device, unsigned int flags = CU_CTX_SCHED_SPIN); + Context(const Device &device, unsigned int flags = CU_CTX_SCHED_YIELD); // Returns the device associated to this context. Device getDevice() const;