Skip to content

Commit 983574b

Browse files
committed
GPU: Fix GPURootDump dummy implementation
1 parent 6eeb7fb commit 983574b

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

GPU/GPUTracking/Debug/GPUROOTDump.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,19 +154,19 @@ template <typename... Args>
154154
class GPUROOTDump
155155
{
156156
public:
157-
template <typename... Args>
157+
template <typename... Names>
158158
GPUd() void Fill(Args... args) const
159159
{
160160
}
161-
template <typename... Args>
162-
GPUd() static GPUROOTDump<T>& get(Args... args)
161+
template <typename... Names>
162+
GPUd() static GPUROOTDump<Args...>& get(Args... args)
163163
{
164-
return *(GPUROOTDump<T>*)(size_t)(1024); // Will never be used, return just some reference, which must not be nullptr by specification
164+
return *(GPUROOTDump<Args...>*)(size_t)(1024); // Will never be used, return just some reference, which must not be nullptr by specification
165165
}
166-
template <typename... Args>
167-
GPUd() static GPUROOTDump<T>& getNew(Args... args)
166+
template <typename... Names>
167+
GPUd() static GPUROOTDump<Args...>& getNew(Args... args)
168168
{
169-
return *(GPUROOTDump<T>*)(size_t)(1024); // Will never be used, return just some reference, which must not be nullptr by specification
169+
return *(GPUROOTDump<Args...>*)(size_t)(1024); // Will never be used, return just some reference, which must not be nullptr by specification
170170
}
171171
};
172172
#endif

0 commit comments

Comments
 (0)