Skip to content

Commit 2877f3a

Browse files
Fix rocm warnings
1 parent 35d52ab commit 2877f3a

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

GPU/GPUTracking/DataTypes/GPUDataTypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ struct TPCZSLinkMapping;
9999
#include "utils/bitfield.h"
100100

101101
template <template <class> class F>
102-
struct GPUTPCTrackSkeleton;
102+
class GPUTPCTrackSkeleton;
103103
class GPUTPCHitId;
104104
class GPUTPCGMMergedTrack;
105105
struct GPUTPCGMMergedTrackHit;

GPU/GPUTracking/SectorTracker/GPUTPCTrackParam.cxx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,8 @@ GPUd() int32_t GPUTPCTrackParamSkeleton<F>::GetPropagatedYZ(float bz, float x, f
876876
return 1;
877877
}
878878

879-
template class GPUTPCTrackParamSkeleton<wrapper::value>;
880-
template class GPUTPCTrackParamSkeleton<wrapper::reference>;
881-
//template class GPUTPCTrackParamSkeleton<wrapper::const_reference>;
879+
namespace o2::gpu {
880+
template class GPUTPCTrackParamSkeleton<wrapper::value>;
881+
template class GPUTPCTrackParamSkeleton<wrapper::reference>;
882+
//template class GPUTPCTrackParamSkeleton<wrapper::const_reference>;
883+
} // namespace o2::gpu

GPU/GPUTracking/SectorTracker/GPUTPCTracker.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace o2::gpu
3232
struct GPUTPCClusterData;
3333
struct GPUParam;
3434
template <template <class> class F>
35-
struct GPUTPCTrackSkeleton;
35+
class GPUTPCTrackSkeleton;
3636
class GPUTPCRow;
3737

3838
class GPUTPCTracker : public GPUProcessor

0 commit comments

Comments
 (0)