Skip to content

Commit 9aefb39

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

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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)