1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-18 07:47:06 +01:00

Use accelerator_for2d and DeviceSegmentedRecude to avoid kernel launch latencies

This commit is contained in:
Dennis Bollweg
2024-02-01 16:41:03 -05:00
parent caa5f97723
commit 79a6ed32d8
3 changed files with 50 additions and 26 deletions

View File

@ -34,7 +34,7 @@ class GridTracer {
};
inline void tracePush(const char *name) { roctxRangePushA(name); }
inline void tracePop(const char *name) { roctxRangePop(); }
inline int traceStart(const char *name) { roctxRangeStart(name); }
inline int traceStart(const char *name) { return roctxRangeStart(name); }
inline void traceStop(int ID) { roctxRangeStop(ID); }
#endif