Added generation of hip ostream operators
Change-Id: I5d07ea07cdd94097cb44619c29d9deba54e5d6a5 ostream ops code cleanup Change-Id: Ia4e287de1e1953f5d323a0066c29aa6056442139
This commit is contained in:
1 parent
d46e357aba
commit
72b0d25ea4
6 files changed
+119
-56
No files matched your search
@@ -1,10 +1,10 @@
|
||||
MatrixTranspose_ctest_trace 3
|
||||
MatrixTranspose_test_trace 1
|
||||
MatrixTranspose_mgpu_trace 1
|
||||
MatrixTranspose_kfd_trace 1
|
||||
MatrixTranspose_sys_trace 1
|
||||
MatrixTranspose_sys_hsa_trace 2
|
||||
MatrixTranspose_kfd_trace 0
|
||||
MatrixTranspose_sys_trace 0
|
||||
MatrixTranspose_sys_hsa_trace 0
|
||||
MatrixTranspose_hip_period_trace 0
|
||||
MatrixTranspose_hip_flush_trace 1
|
||||
MatrixTranspose_hip_flush_trace 0
|
||||
ctrl_hsa_trace 1
|
||||
ctrl_hsa_input_trace 2
|
||||
@@ -406,7 +406,7 @@ void hip_api_flush_cb(hip_api_trace_entry_t* entry) {
|
||||
|
||||
if (domain == ACTIVITY_DOMAIN_HIP_API) {
|
||||
#if HIP_PROF_HIP_API_STRING
|
||||
const char* str = hipApiString(cid, data);
|
||||
const char* str = hipApiString((hip_api_id_t)cid, data);
|
||||
fprintf(hip_api_file_handle, "%s\n", str);
|
||||
#else // !HIP_PROF_HIP_API_STRING
|
||||
switch (cid) {
|
||||
@@ -918,3 +918,4 @@ extern "C" DESTRUCTOR_API void destructor() {
|
||||
tool_unload();
|
||||
ONLOAD_TRACE_END();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user