Skip to content

Commit 12df0c7

Browse files
committed
GPU Common: Workaround for removing gpustd::array, temporary alias for O2Physics
1 parent ca81641 commit 12df0c7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

DataFormats/Reconstruction/include/ReconstructionDataFormats/TrackParametrization.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include "GPUCommonDef.h"
3030
#include "GPUCommonRtypes.h"
3131
#include "GPUCommonMath.h"
32+
#include "GPUCommonArray.h"
3233
#include "GPUROOTCartesianFwd.h"
3334

3435
#ifndef GPUCA_GPUCODE_DEVICE

GPU/Common/GPUCommonArray.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,10 @@ using array = std::array<T, N>;
4848
} // namespace std
4949
#endif
5050

51+
namespace o2::gpu::gpustd
52+
{
53+
template <class T, size_t I>
54+
using array = ::std::array<T, I>; // temporary alias, to remove dependent types
55+
} // o2::gpu::gpustd
56+
5157
#endif // GPUCOMMONARRAY_H

0 commit comments

Comments
 (0)