Skip to content

Commit

Permalink
GPU: Remove workaround for clang bug that has been fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrohr committed Mar 13, 2024
1 parent 8e033d8 commit 89a439b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions GPU/GPUTracking/Base/GPUReconstructionCPU.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,8 @@ class GPUReconstructionCPU : public GPUReconstructionKernels<GPUReconstructionCP
static constexpr krnlRunRange krnlRunRangeNone{0, -1};
static constexpr krnlEvent krnlEventNone = krnlEvent{nullptr, nullptr, 0};

#ifdef __clang__ // BUG: clang does not accept default parameters before parameter pack
template <class S, int I = 0, int J = -1>
inline int runKernel(const krnlExec& x, const krnlRunRange& y = krnlRunRangeNone)
{
return runKernel<S, I, J>(x, y, krnlEventNone);
}
template <class S, int I = 0, int J = -1, typename... Args>
int runKernel(const krnlExec& x, const krnlRunRange& y, const krnlEvent& z, const Args&... args);
#else
template <class S, int I = 0, int J = -1, typename... Args>
int runKernel(const krnlExec& x, const krnlRunRange& y = krnlRunRangeNone, const krnlEvent& z = krnlEventNone, const Args&... args);
#endif
template <class S, int I = 0>
const krnlProperties getKernelProperties()
{
Expand Down

0 comments on commit 89a439b

Please sign in to comment.