Skip to content

Commit f8956cf

Browse files
committed
GPU: Remove workaround for clang bug that has been fixed
1 parent 19454fc commit f8956cf

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

GPU/GPUTracking/Global/GPUChain.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -178,18 +178,8 @@ class GPUChain
178178
{
179179
mRec->ReadStructFromFile<T>(file, obj);
180180
}
181-
#ifdef __clang__ // BUG: clang seems broken and does not accept default parameters before parameter pack
182-
template <class S, int I = 0, int J = -1>
183-
inline int runKernel(const krnlExec& x, const krnlRunRange& y = krnlRunRangeNone)
184-
{
185-
return mRec->runKernel<S, I, J>(x, y);
186-
}
187-
template <class S, int I = 0, int J = -1, typename... Args>
188-
inline int runKernel(const krnlExec& x, const krnlRunRange& y, const krnlEvent& z, Args&&... args)
189-
#else
190181
template <class S, int I = 0, int J = -1, typename... Args>
191182
inline int runKernel(const krnlExec& x, const krnlRunRange& y = krnlRunRangeNone, const krnlEvent& z = krnlEventNone, Args&&... args)
192-
#endif
193183
{
194184
return mRec->runKernel<S, I, J, Args...>(x, y, z, std::forward<Args>(args)...);
195185
}

0 commit comments

Comments
 (0)