@@ -55,7 +55,7 @@ inline void GPUReconstructionCUDABackend::runKernelBackendInternal(const krnlSet
5555#endif
5656 pArgs[arg_offset] = &y.index ;
5757 GPUReconstructionCUDAInternals::getArgPtrs (&pArgs[arg_offset + 1 ], args...);
58- GPUChkErr (cuLaunchKernel (*mInternals ->kernelFunctions [getRTCkernelNum<false , T, I>()], x.nBlocks , 1 , 1 , x.nThreads , 1 , 1 , 0 , mInternals ->Streams [x.stream ], (void **)pArgs, nullptr ));
58+ GPUChkErr (cuLaunchKernel (*mInternals ->kernelFunctions [getRTCkernelNum<T, I>()], x.nBlocks , 1 , 1 , x.nThreads , 1 , 1 , 0 , mInternals ->Streams [x.stream ], (void **)pArgs, nullptr ));
5959 }
6060}
6161
@@ -111,7 +111,7 @@ void GPUReconstructionCUDABackend::runKernelBackend(const krnlSetupArgs<T, I, Ar
111111#include " GPUReconstructionKernelList.h"
112112#undef GPUCA_KRNL
113113
114- template <bool multi, class T , int32_t I>
114+ template <class T , int32_t I>
115115int32_t GPUReconstructionCUDABackend::getRTCkernelNum (int32_t k)
116116{
117117 static int32_t num = k;
@@ -121,9 +121,7 @@ int32_t GPUReconstructionCUDABackend::getRTCkernelNum(int32_t k)
121121 return num;
122122}
123123
124- #define GPUCA_KRNL (x_class, ...) \
125- template int32_t GPUReconstructionCUDABackend::getRTCkernelNum<false , GPUCA_M_KRNL_TEMPLATE(x_class)>(int32_t k); \
126- template int32_t GPUReconstructionCUDABackend::getRTCkernelNum<true , GPUCA_M_KRNL_TEMPLATE(x_class)>(int32_t k);
124+ #define GPUCA_KRNL (x_class, ...) template int32_t GPUReconstructionCUDABackend::getRTCkernelNum<GPUCA_M_KRNL_TEMPLATE(x_class)>(int32_t k);
127125#include " GPUReconstructionKernelList.h"
128126#undef GPUCA_KRNL
129127
0 commit comments