1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00
This commit is contained in:
Peter Boyle 2022-11-25 00:45:21 -05:00
parent 63a30ae34f
commit 121c9e2ceb

View File

@ -1,4 +1,7 @@
#pragma once #pragma once
NAMESPACE_BEGIN(Grid);
#ifdef GRID_TRACING_NVTX #ifdef GRID_TRACING_NVTX
#include <nvToolsExt.h> #include <nvToolsExt.h>
class GridTracer { class GridTracer {
@ -64,3 +67,4 @@ inline void traceStop(int ID) { }
#else #else
#define GRID_TRACE(name) GridTracer uniq_name_using_macros##__COUNTER__(name); #define GRID_TRACE(name) GridTracer uniq_name_using_macros##__COUNTER__(name);
#endif #endif
NAMESPACE_END(Grid);