[ROCm/roctracer commit: 72a2571b22]
Этот коммит содержится в:
Evgeny
2019-10-21 23:03:20 -05:00
родитель 05a07a9e7f
Коммит 693111434b
7 изменённых файлов: 45 добавлений и 20 удалений
+2 -2
Просмотреть файл
@@ -32,7 +32,7 @@ THE SOFTWARE.
#include <inc/roctx.h>
#ifndef ITERATIONS
# define ITERATIONS 100
# define ITERATIONS 101
#endif
#define WIDTH 1024
@@ -273,7 +273,7 @@ void activity_callback(const char* begin, const char* end, void* arg) {
record->device_id,
record->queue_id
);
if (record->op == hc::HSA_OP_ID_COPY) fprintf(stdout, " bytes(0x%zx)", record->bytes);
if (record->op == HIP_OP_ID_COPY) fprintf(stdout, " bytes(0x%zx)", record->bytes);
} else if (record->domain == ACTIVITY_DOMAIN_EXT_API) {
fprintf(stdout, " external_id(%lu)",
record->external_id