From 8f64ed9d19bc80654e939cae13d1f7f8b26863e5 Mon Sep 17 00:00:00 2001
From: Sarod Yatawatta <yatawatta@astron.nl>
Date: Wed, 14 Oct 2020 12:30:14 +0000
Subject: [PATCH] COB-153: Note to remove SAP because its =1

---
 RTCP/Cobalt/GPUProc/src/Kernels/DelayAndBandPassKernel.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/RTCP/Cobalt/GPUProc/src/Kernels/DelayAndBandPassKernel.cc b/RTCP/Cobalt/GPUProc/src/Kernels/DelayAndBandPassKernel.cc
index 3ad35b6fdb9..683ec63c9a7 100644
--- a/RTCP/Cobalt/GPUProc/src/Kernels/DelayAndBandPassKernel.cc
+++ b/RTCP/Cobalt/GPUProc/src/Kernels/DelayAndBandPassKernel.cc
@@ -110,7 +110,7 @@ namespace LOFAR
           delayIndices.size() * sizeof delayIndices[0];
       case DelayAndBandPassKernel::DELAYS:
         return 
-          (size_t) nrSAPs * nrDelays * 
+          (size_t) nrSAPs * nrDelays *  // FIXME nrSAPs==1 assumed in the kernel
             NR_POLARIZATIONS * sizeof(double);
       case DelayAndBandPassKernel::PHASE_ZEROS:
         return
@@ -191,7 +191,7 @@ namespace LOFAR
                                          double subbandFrequency, unsigned SAP)
     {
       setArg(3, subbandFrequency);
-      setArg(4, SAP);
+      setArg(4, SAP); // FIXME
       Kernel::enqueue(blockId);
     }
 
-- 
GitLab