Commit Graph

13501 Commits

Author SHA1 Message Date
Evgeny ac59f349d4 enabling hipIpcEventHandle_t
Change-Id: Iaf973567298d5ef8450e14e869b5f837e0620022
2020-08-03 13:04:05 -05:00
Evgeny Shcherbakov a779125f43 Merge "Added hsa ostream ops generation" into amd-master
[ROCm/roctracer commit: de338b02e6]
2020-07-30 11:24:32 -04:00
Evgeny Shcherbakov de338b02e6 Merge "Added hsa ostream ops generation" into amd-master 2020-07-30 11:24:32 -04:00
Evgeny 7364edcc5b kernel name filtering fix - handling [] brakets
Change-Id: I46a62d991a52045694640837393df229cf7a3133
2020-07-29 18:47:31 -05:00
Evgeny 832ab03e46 kernel name filtering fix - handling [] brakets
Change-Id: I46a62d991a52045694640837393df229cf7a3133


[ROCm/rocprofiler commit: 7364edcc5b]
2020-07-29 18:47:31 -05:00
Rachida Kebichi 127ae39c5a Added hsa ostream ops generation
Change-Id: Icc68e136d22b05b35d6adaff56e090272633d760


[ROCm/roctracer commit: bac4bae41c]
2020-07-29 10:41:32 -04:00
Rachida Kebichi bac4bae41c Added hsa ostream ops generation
Change-Id: Icc68e136d22b05b35d6adaff56e090272633d760
2020-07-29 10:41:32 -04:00
Rachida Kebichi 2e189165df more verbosity in trace diffs
Change-Id: I1e3f6c8ee126ca4470f0846aabab19d18397dd64


[ROCm/roctracer commit: 0502f196d9]
2020-07-29 03:00:16 -05:00
Rachida Kebichi 0502f196d9 more verbosity in trace diffs
Change-Id: I1e3f6c8ee126ca4470f0846aabab19d18397dd64
2020-07-29 03:00:16 -05:00
Chengming Gui 72294266c2 kfdtest: Add gfx1031 support
Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Change-Id: I3806ec33eefd84ff1dd690dd142889e076b7ef43
2020-07-28 18:02:51 -04:00
Chengming Gui bf1a7acea3 libhsakmt: Add gfx1031 support
Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Change-Id: Ic1e78e5c3a453eb01f725612cf9ecc702ce2e132
2020-07-28 15:01:00 -05:00
Chris Freehill 92c258c364 Replace "." in pkg name with "-"
Package name should have a hyphen (not a period) between
NumCommitsSinceLastTag and ROCMIntegrationJobIdentifier.

Fixes SWDEV-245838

Change-Id: I28c4337af6f92ac51a4aed03a09af23b92bd89b5
2020-07-27 20:54:52 -04:00
Chris Freehill c2439d28e8 Correct usage of bitwise &
Also, fix warning related to catch() and cpplint error.

Change-Id: I4292170538d0f700fccb605814c5058543abe74a
2020-07-26 20:08:24 -05:00
Ashutosh Mishra d13342d03a Adapting HSA Changes
Using mordern cmake changes for rocrtest in accordance with the
recent changes in HSA. These changes also make sure that tests
can be compiled both for static as well as dynamic libs

Change-Id: I6dfb5259a4cbd994f413f68d1ebadc2ba5fe4f34
2020-07-24 17:15:12 +05:30
Evgeny Shcherbakov 0bce9d7281 Merge "return value fix" into amd-master 2020-07-22 00:28:42 -04:00
Evgeny Shcherbakov 5b362bd4c1 Merge "return value fix" into amd-master
[ROCm/rocprofiler commit: 0bce9d7281]
2020-07-22 00:28:42 -04:00
Rachida Kebichi 86f32d591b Merge "Dump memcpy info for hsa" into amd-master 2020-07-21 14:59:43 -04:00
Rachida Kebichi 164dcde05a Merge "Dump memcpy info for hsa" into amd-master
[ROCm/rocprofiler commit: 86f32d591b]
2020-07-21 14:59:43 -04:00
Ashutosh Mishra 4827d1d4d4 Adapting HSA Changes
Following Cmake changes are in accordance to the changes in HSA / THUNK , VDI etc
These have made the code compilable now both for satic as well as dynamic libs

Change-Id: I4d8d3e2b84d6e1ea00531594522111ccbce8a87b
2020-07-21 12:06:51 -04:00
Evgeny 8bb860f841 return value fix
Change-Id: Id23dc2cf7f25efbf778a853403e43dd1176d5e33
2020-07-21 01:00:41 -05:00
Evgeny 01f943e1ff return value fix
Change-Id: Id23dc2cf7f25efbf778a853403e43dd1176d5e33


[ROCm/rocprofiler commit: 8bb860f841]
2020-07-21 01:00:41 -05:00
Xianwei Zhang 4fad73511c pmc: add parraller kernels 'rocprof' option
The profiling was only enabled in serial mode, i.e., kernels
are serialized in execution, and counters are reset at each
kernel start and read at kernel completion. This patch adds
the concurrent mode, by issuing the process-level start
packet to reset counters, and then reading twice at kernel
start and end time to obtain the counter value difference.
The new concurrent profiling usage needs the integration
with the corresponding augment at aqlprofile side.

Change-Id: I94b4442eadc8c64b8fba51b1e4916fc8b895ad21

enable cnocurrent kernels 'rocprof' option

Change-Id: I5088d54879a4bf91e180eba520aa9427304c1713
2020-07-20 12:57:42 -05:00
Xianwei Zhang 27af6bc043 pmc: add parraller kernels 'rocprof' option
The profiling was only enabled in serial mode, i.e., kernels
are serialized in execution, and counters are reset at each
kernel start and read at kernel completion. This patch adds
the concurrent mode, by issuing the process-level start
packet to reset counters, and then reading twice at kernel
start and end time to obtain the counter value difference.
The new concurrent profiling usage needs the integration
with the corresponding augment at aqlprofile side.

Change-Id: I94b4442eadc8c64b8fba51b1e4916fc8b895ad21

enable cnocurrent kernels 'rocprof' option

Change-Id: I5088d54879a4bf91e180eba520aa9427304c1713


[ROCm/rocprofiler commit: 4fad73511c]
2020-07-20 12:57:42 -05:00
Evgeny Shcherbakov 958b09196a Merge "pmc: add support of concurrent kernel profiling" into amd-master 2020-07-20 13:52:11 -04:00
Evgeny Shcherbakov 423a772b91 Merge "pmc: add support of concurrent kernel profiling" into amd-master
[ROCm/rocprofiler commit: 958b09196a]
2020-07-20 13:52:11 -04:00
Evgeny Shcherbakov 55e2cc826e Merge "Simple fix for incorrect kernel name" into amd-master 2020-07-20 13:50:55 -04:00
Evgeny Shcherbakov 19c1895eb4 Merge "Simple fix for incorrect kernel name" into amd-master
[ROCm/rocprofiler commit: 55e2cc826e]
2020-07-20 13:50:55 -04:00
Rachida Kebichi dabb49661b Dump memcpy info for hsa
Change-Id: Ia7ae7f15939a5544f2e846afc049023cadcc0e62
2020-07-17 16:32:22 -04:00
Rachida Kebichi d96c67b2bf Dump memcpy info for hsa
Change-Id: Ia7ae7f15939a5544f2e846afc049023cadcc0e62


[ROCm/rocprofiler commit: dabb49661b]
2020-07-17 16:32:22 -04:00
Rachida Kebichi 1a06583d15 Simple fix for incorrect kernel name
Change-Id: I8fe2c552d37aa2e1b8874cead4c126ee48fbc02e
2020-07-17 12:25:33 -04:00
Rachida Kebichi 5eb3782e02 Simple fix for incorrect kernel name
Change-Id: I8fe2c552d37aa2e1b8874cead4c126ee48fbc02e


[ROCm/rocprofiler commit: 1a06583d15]
2020-07-17 12:25:33 -04:00
Ashutosh Mishra d325613220 Adding "BUILD_SHARED_LIBS" flag to cmake files
JIRA : SWDEV-234471
Changing cmake for dynamically creation of shared / archive libs depending upon the parameret to cmake

Adapted comments.

Change-Id: Ice5925719b8c307c32310b252f61cbc211d1af27
2020-07-16 22:32:55 -04:00
Chris Freehill 52514835f0 Update xgmi event counter documentation
Also:
* fix doxygen manual generation that was altered during
  OAM refactor
* quiet some compile warnings.

Change-Id: I548a3cf00eb887bea3dbf58e362ca6dfe90bde28
2020-07-16 17:42:56 -05:00
Xianwei Zhang 61c9df4631 pmc: add support of concurrent kernel profiling
The profiling was only enabled in serial mode, i.e., kernels
are serialized in execution, and counters are reset at each
kernel start and read at kernel completion. This patch adds
the concurrent mode, by issuing the process-level start
packet to reset counters, and then reading twice at kernel
start and end time to obtain the counter value difference.
The new concurrent profiling usage needs the integration
with the corresponding augment at aqlprofile side.

Change-Id: I94b4442eadc8c64b8fba51b1e4916fc8b895ad21
2020-07-16 14:39:46 -05:00
Xianwei Zhang f95b383dfa pmc: add support of concurrent kernel profiling
The profiling was only enabled in serial mode, i.e., kernels
are serialized in execution, and counters are reset at each
kernel start and read at kernel completion. This patch adds
the concurrent mode, by issuing the process-level start
packet to reset counters, and then reading twice at kernel
start and end time to obtain the counter value difference.
The new concurrent profiling usage needs the integration
with the corresponding augment at aqlprofile side.

Change-Id: I94b4442eadc8c64b8fba51b1e4916fc8b895ad21


[ROCm/rocprofiler commit: 61c9df4631]
2020-07-16 14:39:46 -05:00
Evgeny 9dce4ee5f3 fixed recursive mutex
Change-Id: Id63d022b8fd9e900f40b1f991ecb413419d527ad


[ROCm/roctracer commit: 9bb4b0d311]
2020-07-16 05:53:20 -05:00
Evgeny 9bb4b0d311 fixed recursive mutex
Change-Id: Id63d022b8fd9e900f40b1f991ecb413419d527ad
2020-07-16 05:53:20 -05:00
Sean Keely f4fe7ddf47 Make explicit reference between init modules.
Make explicit reference to hsa_api_trace.cpp from
initialization of hsa_table_interface.cpp.  Breaks
the ability to use hsa_table_interface.cpp in plugins.

Change-Id: I22a42d3a132512b0d9ec7a1ca629b169e7f8eba7
2020-07-15 16:02:15 -04:00
Evgeny 2a7f77b290 counters dumping optimization
Change-Id: I8c694e5380e15179453148dd9ab3a3e51b6db861
2020-07-15 09:57:41 -05:00
Evgeny 3d44ea1a05 counters dumping optimization
Change-Id: I8c694e5380e15179453148dd9ab3a3e51b6db861


[ROCm/rocprofiler commit: 2a7f77b290]
2020-07-15 09:57:41 -05:00
Aaron Enye Shi d23b26f760 Update to use new bitcode library structure
Rather than manually linking to the device libraries, the compiler
can now handle linking with them. Allow the build to continue using
old layout if the build system still uses it. Therefore maintain
compatibility with ROCm 3.7 and earlier.

Change-Id: Ida81775da3d0f7c2c67386a71cb057ede31a1545
2020-07-14 15:55:08 -04:00
Aaron Enye Shi 546f50fbec Update to use new bitcode library structure
Also, continue support for old bitcode library layout
for backwards compatibility.
Requires PR: https://github.com/ROCmSoftwarePlatform/hsa-class/pull/3

Change-Id: I55b4fdb4c11442a4920eb721d178861b18912417


[ROCm/roctracer commit: ee3ed37335]
2020-07-14 15:34:43 -04:00
Aaron Enye Shi ee3ed37335 Update to use new bitcode library structure
Also, continue support for old bitcode library layout
for backwards compatibility.
Requires PR: https://github.com/ROCmSoftwarePlatform/hsa-class/pull/3

Change-Id: I55b4fdb4c11442a4920eb721d178861b18912417
2020-07-14 15:34:43 -04:00
Aaron En Ye Shi f96c9f49aa Merge "Update to use new bitcode library structure" into amd-master 2020-07-14 15:30:49 -04:00
Aaron En Ye Shi a288114390 Merge "Update to use new bitcode library structure" into amd-master
[ROCm/rocprofiler commit: f96c9f49aa]
2020-07-14 15:30:49 -04:00
Mukul Joshi 9d24fc9175 Fix compiler warning in TestPciReadWrite
Use unsigned number for left shift operation. If not specificed as
unsigned, compiler throws warning about left shift of negative
number.

Change-Id: I05948073b0c40700bee69399b08df6031fc49d70
2020-07-13 17:32:17 -04:00
Mukul Joshi eea1ed8c3d Add support to retrieve process SDMA usage information.
Also, print SDMA usage information in TestProcInfoRead.

Change-Id: I8d19be3b8653e298c81237e5067eca75a1743e70
2020-07-13 17:32:08 -04:00
Aaron Enye Shi a6f6a13385 Update to use new bitcode library structure
Also, continue support for old bitcode library layout
for backwards compatibility.

Change-Id: Id7f164ecb989a44c22958afce78745552a4babb3
2020-07-13 14:21:33 -04:00
Aaron Enye Shi e19396bcde Update to use new bitcode library structure
Also, continue support for old bitcode library layout
for backwards compatibility.

Change-Id: Id7f164ecb989a44c22958afce78745552a4babb3


[ROCm/rocprofiler commit: a6f6a13385]
2020-07-13 14:21:33 -04:00
Evgeny 81d768c91f enabling memory manager by env var
Change-Id: I8fe708882123b1dd62c20afd9e4967e9ab80c97a
2020-07-13 12:58:50 -05:00