@@ -30,17 +30,17 @@ class GPUCommonAlgorithm
3030{
3131 public:
3232 template <class T >
33- GPUd () static void sort (T* begin, T* end);
33+ GPUd () static void sort (T begin, T end);
3434 template <class T >
3535 GPUd () static void sortInBlock (T* begin, T* end);
3636 template <class T >
37- GPUd () static void sortDeviceDynamic (T* begin, T* end);
37+ GPUd () static void sortDeviceDynamic (T begin, T end);
3838 template <class T , class S >
39- GPUd () static void sort (T* begin, T* end, const S& comp);
39+ GPUd () static void sort (T begin, T end, const S& comp);
4040 template <class T , class S >
4141 GPUd () static void sortInBlock (T* begin, T* end, const S& comp);
4242 template <class T , class S >
43- GPUd () static void sortDeviceDynamic (T* begin, T* end, const S& comp);
43+ GPUd () static void sortDeviceDynamic (T begin, T end, const S& comp);
4444#ifndef __OPENCL__
4545 template <class T , class S >
4646 GPUh () static void sortOnDevice(auto * rec, int32_t stream, T* begin, size_t N, const S& comp);
@@ -224,7 +224,7 @@ namespace o2::gpu
224224{
225225
226226template <class T >
227- GPUdi () void GPUCommonAlgorithm::sortDeviceDynamic (T* begin, T* end)
227+ GPUdi () void GPUCommonAlgorithm::sortDeviceDynamic (T begin, T end)
228228{
229229#ifndef GPUCA_GPUCODE
230230 GPUCommonAlgorithm::sort (begin, end);
@@ -234,7 +234,7 @@ GPUdi() void GPUCommonAlgorithm::sortDeviceDynamic(T* begin, T* end)
234234}
235235
236236template <class T , class S >
237- GPUdi () void GPUCommonAlgorithm::sortDeviceDynamic (T* begin, T* end, const S& comp)
237+ GPUdi () void GPUCommonAlgorithm::sortDeviceDynamic (T begin, T end, const S& comp)
238238{
239239 GPUCommonAlgorithm::sort (begin, end, comp);
240240}
@@ -248,7 +248,7 @@ namespace o2::gpu
248248{
249249
250250template <class T >
251- GPUdi () void GPUCommonAlgorithm::sort (T* begin, T* end)
251+ GPUdi () void GPUCommonAlgorithm::sort (T begin, T end)
252252{
253253#ifdef GPUCA_ALGORITHM_STD
254254 std::sort (begin, end);
@@ -258,7 +258,7 @@ GPUdi() void GPUCommonAlgorithm::sort(T* begin, T* end)
258258}
259259
260260template <class T , class S >
261- GPUdi () void GPUCommonAlgorithm::sort (T* begin, T* end, const S& comp)
261+ GPUdi () void GPUCommonAlgorithm::sort (T begin, T end, const S& comp)
262262{
263263#ifdef GPUCA_ALGORITHM_STD
264264 std::sort (begin, end, comp);
0 commit comments