Wall clock update and npkit trace script Update (#771)
* changed builtin clock to wall_clock64 * updated npkit_Trace_generator to the new version of npkit
This commit is contained in:
@@ -14,11 +14,7 @@
|
||||
#include "npkit/npkit_event.h"
|
||||
#include "npkit/npkit_struct.h"
|
||||
|
||||
#if defined(__GFX9__) || defined(__GFX10__)
|
||||
#define NPKIT_GET_GPU_TIMESTAMP __builtin_amdgcn_s_memrealtime
|
||||
#else
|
||||
#define NPKIT_GET_GPU_TIMESTAMP clock64
|
||||
#endif
|
||||
#define NPKIT_GET_GPU_TIMESTAMP wall_clock64
|
||||
|
||||
class NpKit {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user