@@ -589,15 +589,9 @@ GPUd() void TrackParametrization<value_T>::printParam() const
589589 // print parameters
590590#ifndef GPUCA_ALIGPUCODE
591591 printf (" %s\n " , asString ().c_str ());
592- #else
592+ #elif !defined(GPUCA_GPUCODE_DEVICE) || (!defined(__OPENCL__) && defined(GPUCA_GPU_DEBUG_PRINT))
593593 printf (" X:%+.4e Alp:%+.3e Par: %+.4e %+.4e %+.4e %+.4e %+.4e |Q|:%d %s" ,
594- getX (), getAlpha (), getY (), getZ (), getSnp (), getTgl (), getQ2Pt (), getAbsCharge (),
595- #if !defined(__OPENCL__) && defined(GPUCA_GPU_DEBUG_PRINT)
596- getPID ().getName ()
597- #else
598- " "
599- #endif
600- );
594+ getX (), getAlpha (), getY (), getZ (), getSnp (), getTgl (), getQ2Pt (), getAbsCharge (), getPID ().getName ());
601595#endif
602596}
603597
@@ -608,7 +602,7 @@ GPUd() void TrackParametrization<value_T>::printParamHexadecimal()
608602 // print parameters
609603#ifndef GPUCA_ALIGPUCODE
610604 printf (" %s\n " , asStringHexadecimal ().c_str ());
611- #else
605+ #elif !defined(GPUCA_GPUCODE_DEVICE) || (!defined(__OPENCL__) && defined(GPUCA_GPU_DEBUG_PRINT))
612606 printf (" X:%x Alp:%x Par: %x %x %x %x %x |Q|:%x %s" ,
613607 gpu::CAMath::Float2UIntReint (getX ()),
614608 gpu::CAMath::Float2UIntReint (getAlpha ()),
@@ -618,12 +612,7 @@ GPUd() void TrackParametrization<value_T>::printParamHexadecimal()
618612 gpu::CAMath::Float2UIntReint (getTgl ()),
619613 gpu::CAMath::Float2UIntReint (getQ2Pt ()),
620614 gpu::CAMath::Float2UIntReint (getAbsCharge ()),
621- #if !defined(__OPENCL__) && defined(GPUCA_GPU_DEBUG_PRINT)
622- getPID ().getName ()
623- #else
624- " "
625- #endif
626- );
615+ getPID ().getName ());
627616#endif
628617}
629618
0 commit comments