adding activity prof layer

[ROCm/hip commit: b8b1637ef7]
This commit is contained in:
Evgeny
2018-08-07 07:32:27 -05:00
committed by root
parent c7e403e4d4
commit 0a58dc9b7b
15 changed files with 2866 additions and 127 deletions
+2 -2
View File
@@ -2288,7 +2288,7 @@ void ihipStream_t::locked_copyAsync(void* dst, const void* src, size_t sizeBytes
//-------------------------------------------------------------------------------------------------
// Profiler, really these should live elsewhere:
hipError_t hipProfilerStart() {
HIP_INIT_API();
HIP_INIT_CB_API(hipProfilerStart);
#if COMPILE_HIP_ATP_MARKER
amdtResumeProfiling(AMDT_ALL_PROFILING);
#endif
@@ -2298,7 +2298,7 @@ hipError_t hipProfilerStart() {
hipError_t hipProfilerStop() {
HIP_INIT_API();
HIP_INIT_CB_API(hipProfilerStop);
#if COMPILE_HIP_ATP_MARKER
amdtStopProfiling(AMDT_ALL_PROFILING);
#endif