@@ -28,19 +28,6 @@ texture<calink, cudaTextureType1D, cudaReadModeElementType> gAliTexRefu;
2828
2929#include " GPUReconstructionIncludesDevice.h"
3030
31- #undef GPUCA_KRNL_REG
32- #define GPUCA_KRNL_REG (args ) __launch_bounds__ (GPUCA_M_MAX2_3 (GPUCA_M_STRIP (args)))
33- #define GPUCA_KRNL (x_class, x_attributes, x_arguments, x_forward ) \
34- GPUCA_KRNL_PROP (x_class, x_attributes) \
35- GPUCA_KRNL_WRAP(GPUCA_KRNL_ , x_class, x_attributes, x_arguments, x_forward)
36- #define GPUCA_KRNL_CALL_single (x_class, x_attributes, x_arguments, x_forward ) \
37- GPUCA_M_CAT (krnl_, GPUCA_M_KRNL_NAME (x_class))<<<x.nBlocks, x.nThreads, 0, me->mInternals->Streams[x.stream]>>>(GPUCA_CONSMEM_CALL y.start, args...);
38- #define GPUCA_KRNL_CALL_multi (x_class, x_attributes, x_arguments, x_forward ) \
39- GPUCA_M_CAT3 (krnl_, GPUCA_M_KRNL_NAME (x_class), _multi)<<<x.nBlocks, x.nThreads, 0, me->mInternals->Streams[x.stream]>>>(GPUCA_CONSMEM_CALL y.start, y.num, args...);
40-
41- #include " GPUReconstructionKernels.h"
42- #undef GPUCA_KRNL
43-
4431template <>
4532void GPUReconstructionCUDABackend::runKernelBackendInternal<GPUMemClean16, 0 >(krnlSetup& _xyz, void * const & ptr, unsigned long const & size)
4633{
@@ -97,8 +84,16 @@ int GPUReconstructionCUDABackend::runKernelBackend(krnlSetup& _xyz, Args... args
9784 return 0 ;
9885}
9986
100- #define GPUCA_KRNL (x_class, x_attributes, x_arguments, x_forward ) \
87+ #undef GPUCA_KRNL_REG
88+ #define GPUCA_KRNL_REG (args ) __launch_bounds__ (GPUCA_M_MAX2_3 (GPUCA_M_STRIP (args)))
89+ #define GPUCA_KRNL (x_class, x_attributes, x_arguments, x_forward ) \
90+ GPUCA_KRNL_PROP (x_class, x_attributes) \
91+ GPUCA_KRNL_WRAP(GPUCA_KRNL_ , x_class, x_attributes, x_arguments, x_forward) \
10192 template int GPUReconstructionCUDABackend::runKernelBackend<GPUCA_M_KRNL_TEMPLATE(x_class)>(krnlSetup & _xyz GPUCA_M_STRIP (x_arguments));
93+ #define GPUCA_KRNL_CALL_single (x_class, x_attributes, x_arguments, x_forward ) \
94+ GPUCA_M_CAT (krnl_, GPUCA_M_KRNL_NAME (x_class))<<<x.nBlocks, x.nThreads, 0, me->mInternals->Streams[x.stream]>>>(GPUCA_CONSMEM_CALL y.start, args...);
95+ #define GPUCA_KRNL_CALL_multi (x_class, x_attributes, x_arguments, x_forward ) \
96+ GPUCA_M_CAT3 (krnl_, GPUCA_M_KRNL_NAME (x_class), _multi)<<<x.nBlocks, x.nThreads, 0, me->mInternals->Streams[x.stream]>>>(GPUCA_CONSMEM_CALL y.start, y.num, args...);
10297#include " GPUReconstructionKernels.h"
10398#undef GPUCA_KRNL
10499
0 commit comments