hip-vdi support

이 커밋은 다음에 포함됨:
Evgeny
2019-10-21 23:03:20 -05:00
부모 57051220a1
커밋 72a2571b22
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