hip-vdi changes

[ROCm/roctracer commit: eb4bf2dac6]
This commit is contained in:
Evgeny
2019-10-25 00:53:26 -05:00
vanhempi 30fbd01542
commit 61dbb74c8a
5 muutettua tiedostoa jossa 17 lisäystä ja 7 poistoa
@@ -291,6 +291,8 @@ void activity_callback(const char* begin, const char* end, void* arg) {
// Init tracing routine
void init_tracing() {
std::cout << "# INIT #############################" << std::endl << std::flush;
// roctracer properties
roctracer_set_properties(ACTIVITY_DOMAIN_HIP_API, NULL);
// Allocating tracing pool
roctracer_properties_t properties{};
properties.buffer_size = 0x1000;
@@ -320,6 +322,7 @@ void stop_tracing() {
std::cout << "# STOP #############################" << std::endl << std::flush;
}
#else
void init_tracing() {}
void start_tracing() {}
void stop_tracing() {}
#endif