We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b5af49 commit c2f066aCopy full SHA for c2f066a
GPU/GPUTracking/Global/GPUErrors.h
@@ -16,7 +16,6 @@
16
#define GPUERRORS_H
17
18
#include "GPUCommonDef.h"
19
-
20
#ifndef GPUCA_GPUCODE
21
#include <unordered_map>
22
#endif
@@ -38,7 +37,9 @@ class GPUErrors
38
37
void setMemory(GPUglobalref() uint32_t* m) { mErrors = m; }
39
void clear();
40
bool printErrors(bool silent = false, uint64_t mask = 0);
+#ifndef GPUCA_GPUCODE
41
static const std::unordered_map<uint32_t, const char*>& getErrorNames();
42
+#endif
43
uint32_t getNErrors() const;
44
const uint32_t* getErrorPtr() const;
45
static uint32_t getMaxErrors();
0 commit comments