adding activity prof layer

[ROCm/clr commit: 084a68be63]
Cette révision appartient à :
Evgeny a créé et root a révisé 2018-11-13 15:33:26 +00:00
1 Parent 553721ef07
révision 7519b3f75e
15 fichiers modifiés
+2866 -127

Aucun fichier ne correspond à votre recherche

+2 -2
Voir le fichier
@@ -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