* refactor docs

* Fixing docs build

* merging 967

* Improving readability with table usage

* review changes

* compilation fix

* README links

---------

Co-authored-by: srawat <120587655+SwRaw@users.noreply.github.com>
Αυτή η υποβολή περιλαμβάνεται σε:
Gopesh Bhardwaj
2024-07-18 12:58:20 +05:30
υποβλήθηκε από GitHub
γονέας bb5b2c9264
υποβολή 785cc39c16
20 αρχεία άλλαξαν με 1103 προσθήκες και 987 διαγραφές
@@ -0,0 +1,5 @@
"Domain","Function","Process_Id","Thread_Id","Correlation_Id","Start_Timestamp","End_Timestamp"
"HIP_COMPILER_API","__hipRegisterFatBinary",208,208,1,1508780270085955,1508780270096795
"HIP_COMPILER_API","__hipRegisterFunction",208,208,2,1508780270104242,1508780270115355
"HIP_COMPILER_API","__hipPushCallConfiguration",208,208,3,1508780613897816,1508780613898701
"HIP_COMPILER_API","__hipPopCallConfiguration",208,208,4,1508780613901714,1508780613902200
1 Domain Function Process_Id Thread_Id Correlation_Id Start_Timestamp End_Timestamp
2 HIP_COMPILER_API __hipRegisterFatBinary 208 208 1 1508780270085955 1508780270096795
3 HIP_COMPILER_API __hipRegisterFunction 208 208 2 1508780270104242 1508780270115355
4 HIP_COMPILER_API __hipPushCallConfiguration 208 208 3 1508780613897816 1508780613898701
5 HIP_COMPILER_API __hipPopCallConfiguration 208 208 4 1508780613901714 1508780613902200
@@ -0,0 +1,9 @@
"Domain","Function","Process_Id","Thread_Id","Correlation_Id","Start_Timestamp","End_Timestamp"
"HIP_RUNTIME_API","hipGetDevicePropertiesR0600",238,238,1,1191915574691984,1191915687784011
"HIP_RUNTIME_API","hipMalloc",238,238,2,1191915691312459,1191915691388696
"HIP_RUNTIME_API","hipMalloc",238,238,3,1191915691390637,1191915691423279
"HIP_RUNTIME_API","hipMemcpy",238,238,4,1191915691439107,1191916547828448
"HIP_RUNTIME_API","hipLaunchKernel",238,238,5,1191916547842972,1191916548408842
"HIP_RUNTIME_API","hipMemcpy",238,238,6,1191916548412677,1191916550217834
"HIP_RUNTIME_API","hipFree",238,238,7,1191916562618151,1191916562789093
"HIP_RUNTIME_API","hipFree",238,238,8,1191916562790923,1191916562836351
1 Domain Function Process_Id Thread_Id Correlation_Id Start_Timestamp End_Timestamp
2 HIP_RUNTIME_API hipGetDevicePropertiesR0600 238 238 1 1191915574691984 1191915687784011
3 HIP_RUNTIME_API hipMalloc 238 238 2 1191915691312459 1191915691388696
4 HIP_RUNTIME_API hipMalloc 238 238 3 1191915691390637 1191915691423279
5 HIP_RUNTIME_API hipMemcpy 238 238 4 1191915691439107 1191916547828448
6 HIP_RUNTIME_API hipLaunchKernel 238 238 5 1191916547842972 1191916548408842
7 HIP_RUNTIME_API hipMemcpy 238 238 6 1191916548412677 1191916550217834
8 HIP_RUNTIME_API hipFree 238 238 7 1191916562618151 1191916562789093
9 HIP_RUNTIME_API hipFree 238 238 8 1191916562790923 1191916562836351
@@ -0,0 +1,18 @@
"Name","Calls","TotalDurationNs","AverageNs","Percentage","MinNs","MaxNs","StdDev"
"hipStreamCreateWithFlags",4,262497406,65624351.500000,85.15,3991286,249121840,122332531.343496
"hipGetDeviceCount",1,32505687,32505687.000000,10.54,32505687,32505687,0.00000000e+00
"hipHostMalloc",12,6096409,508034.083333,1.98,443793,548024,39236.753678
"hipFree",12,1994421,166201.750000,0.6470,7790,1036046,299086.860470
"hipMemcpyAsync",12,1368378,114031.500000,0.4439,2490,764044,249308.051619
"hipMallocAsync",12,927255,77271.250000,0.3008,51540,107671,20487.475966
"hipStreamSynchronize",12,870486,72540.500000,0.2824,140,866606,250065.900069
"hipLaunchKernel",16,692734,43295.875000,0.2247,1000,670044,167133.656647
"hipStreamDestroy",4,619905,154976.250000,0.2011,92901,339252,122852.320356
"hipDeviceSynchronize",4,404252,101063.000000,0.1311,570,385212,189518.505401
"hipHostFree",12,271202,22600.166667,0.0880,11950,34950,7480.268600
"__hipRegisterFatBinary",1,9000,9000.000000,2.920e-03,9000,9000,0.00000000e+00
"__hipRegisterFunction",4,6150,1537.500000,1.995e-03,230,5370,2555.091323
"__hipPushCallConfiguration",16,2460,153.750000,7.980e-04,70,1140,267.503894
"__hipPopCallConfiguration",16,2000,125.000000,6.488e-04,70,680,151.613544
"hipGetLastError",16,1270,79.375000,4.120e-04,50,440,96.295985
"hipSetDevice",1,660,660.000000,2.141e-04,660,660,0.00000000e+00
1 Name Calls TotalDurationNs AverageNs Percentage MinNs MaxNs StdDev
2 hipStreamCreateWithFlags 4 262497406 65624351.500000 85.15 3991286 249121840 122332531.343496
3 hipGetDeviceCount 1 32505687 32505687.000000 10.54 32505687 32505687 0.00000000e+00
4 hipHostMalloc 12 6096409 508034.083333 1.98 443793 548024 39236.753678
5 hipFree 12 1994421 166201.750000 0.6470 7790 1036046 299086.860470
6 hipMemcpyAsync 12 1368378 114031.500000 0.4439 2490 764044 249308.051619
7 hipMallocAsync 12 927255 77271.250000 0.3008 51540 107671 20487.475966
8 hipStreamSynchronize 12 870486 72540.500000 0.2824 140 866606 250065.900069
9 hipLaunchKernel 16 692734 43295.875000 0.2247 1000 670044 167133.656647
10 hipStreamDestroy 4 619905 154976.250000 0.2011 92901 339252 122852.320356
11 hipDeviceSynchronize 4 404252 101063.000000 0.1311 570 385212 189518.505401
12 hipHostFree 12 271202 22600.166667 0.0880 11950 34950 7480.268600
13 __hipRegisterFatBinary 1 9000 9000.000000 2.920e-03 9000 9000 0.00000000e+00
14 __hipRegisterFunction 4 6150 1537.500000 1.995e-03 230 5370 2555.091323
15 __hipPushCallConfiguration 16 2460 153.750000 7.980e-04 70 1140 267.503894
16 __hipPopCallConfiguration 16 2000 125.000000 6.488e-04 70 680 151.613544
17 hipGetLastError 16 1270 79.375000 4.120e-04 50 440 96.295985
18 hipSetDevice 1 660 660.000000 2.141e-04 660 660 0.00000000e+00
@@ -0,0 +1,11 @@
"Domain","Function","Process_Id","Thread_Id","Correlation_Id","Start_Timestamp","End_Timestamp"
"HSA_CORE_API","hsa_system_get_major_extension_table",197,197,1,1507843974724237,1507843974724947
"HSA_CORE_API","hsa_agent_get_info",197,197,3,1507843974754471,1507843974755014
"HSA_AMD_EXT_API","hsa_amd_memory_pool_get_info",197,197,5,1507843974761705,1507843974762398
"HSA_AMD_EXT_API","hsa_amd_memory_pool_get_info",197,197,6,1507843974763901,1507843974764030
"HSA_AMD_EXT_API","hsa_amd_memory_pool_get_info",197,197,7,1507843974765121,1507843974765224
"HSA_AMD_EXT_API","hsa_amd_memory_pool_get_info",197,197,8,1507843974766196,1507843974766328
"HSA_AMD_EXT_API","hsa_amd_memory_pool_get_info",197,197,9,1507843974767534,1507843974767641
"HSA_AMD_EXT_API","hsa_amd_memory_pool_get_info",197,197,10,1507843974768639,1507843974768779
"HSA_AMD_EXT_API","hsa_amd_agent_iterate_memory_pools",197,197,4,1507843974758768,1507843974769238
"HSA_CORE_API","hsa_agent_get_info",197,197,11,1507843974771091,1507843974771537
1 Domain Function Process_Id Thread_Id Correlation_Id Start_Timestamp End_Timestamp
2 HSA_CORE_API hsa_system_get_major_extension_table 197 197 1 1507843974724237 1507843974724947
3 HSA_CORE_API hsa_agent_get_info 197 197 3 1507843974754471 1507843974755014
4 HSA_AMD_EXT_API hsa_amd_memory_pool_get_info 197 197 5 1507843974761705 1507843974762398
5 HSA_AMD_EXT_API hsa_amd_memory_pool_get_info 197 197 6 1507843974763901 1507843974764030
6 HSA_AMD_EXT_API hsa_amd_memory_pool_get_info 197 197 7 1507843974765121 1507843974765224
7 HSA_AMD_EXT_API hsa_amd_memory_pool_get_info 197 197 8 1507843974766196 1507843974766328
8 HSA_AMD_EXT_API hsa_amd_memory_pool_get_info 197 197 9 1507843974767534 1507843974767641
9 HSA_AMD_EXT_API hsa_amd_memory_pool_get_info 197 197 10 1507843974768639 1507843974768779
10 HSA_AMD_EXT_API hsa_amd_agent_iterate_memory_pools 197 197 4 1507843974758768 1507843974769238
11 HSA_CORE_API hsa_agent_get_info 197 197 11 1507843974771091 1507843974771537
@@ -0,0 +1,2 @@
"Kind","Agent_Id","Queue_Id","Kernel_Id","Kernel_Name","Correlation_Id","Start_Timestamp","End_Timestamp","Private_Segment_Size","Group_Segment_Size","Workgroup_Size_X","Workgroup_Size_Y","Workgroup_Size_Z","Grid_Size_X","Grid_Size_Y","Grid_Size_Z"
"KERNEL_DISPATCH",1,139690710949888,15,"matrixTranspose(float*, float*, int)",0,671599758568,671599825328,0,0,4,4,1,1024,1024,1
1 Kind Agent_Id Queue_Id Kernel_Id Kernel_Name Correlation_Id Start_Timestamp End_Timestamp Private_Segment_Size Group_Segment_Size Workgroup_Size_X Workgroup_Size_Y Workgroup_Size_Z Grid_Size_X Grid_Size_Y Grid_Size_Z
2 KERNEL_DISPATCH 1 139690710949888 15 matrixTranspose(float*, float*, int) 0 671599758568 671599825328 0 0 4 4 1 1024 1024 1
@@ -0,0 +1,6 @@
"Domain","Function","Process_Id","Thread_Id","Correlation_Id","Start_Timestamp","End_Timestamp"
"MARKER_CORE_API","before hipLaunchKernel",717,717,1,1520113899312225,1520113899312225
"MARKER_CORE_API","after hipLaunchKernel",717,717,4,1520113900128482,1520113900128482
"MARKER_CORE_API","hipMemcpy",717,717,5,1520113900141100,1520113901483408
"MARKER_CORE_API","hipLaunchKernel",717,717,3,1520113899684965,1520113901491622
"MARKER_CORE_API","hipLaunchKernel range",717,0,2,1520113899682208,1520113901495882
1 Domain Function Process_Id Thread_Id Correlation_Id Start_Timestamp End_Timestamp
2 MARKER_CORE_API before hipLaunchKernel 717 717 1 1520113899312225 1520113899312225
3 MARKER_CORE_API after hipLaunchKernel 717 717 4 1520113900128482 1520113900128482
4 MARKER_CORE_API hipMemcpy 717 717 5 1520113900141100 1520113901483408
5 MARKER_CORE_API hipLaunchKernel 717 717 3 1520113899684965 1520113901491622
6 MARKER_CORE_API hipLaunchKernel range 717 0 2 1520113899682208 1520113901495882
@@ -0,0 +1,3 @@
"Kind","Direction","Source_Agent_Id","Destination_Agent_Id","Correlation_Id","Start_Timestamp","End_Timestamp"
"MEMORY_COPY","HOST_TO_DEVICE",0,1,0,14955949675563,14955950239443
"MEMORY_COPY","DEVICE_TO_HOST",1,0,0,14955952733485,14955953315285
1 Kind Direction Source_Agent_Id Destination_Agent_Id Correlation_Id Start_Timestamp End_Timestamp
2 MEMORY_COPY HOST_TO_DEVICE 0 1 0 14955949675563 14955950239443
3 MEMORY_COPY DEVICE_TO_HOST 1 0 0 14955952733485 14955953315285