Commit Graph

13501 Commits

Author SHA1 Message Date
Evgeny 0cd31f8295 adding HIP_PROF_HIP_API_STRING macro 2020-04-14 13:12:52 -05:00
Ramesh Errabolu a1b4a580fc Extend rocminfo to print UUID of ROCm devices
Change-Id: I258962046e6d05dda91a8c48af646e50500b2d53
2020-04-13 20:42:43 -05:00
Nathan O 6d5781bb14 Fix hsa_amd_agents_allow_access documentation
- Update the documentation comment in hsa_ext_amd.h, which contained
   contradictory and incorrect information about an argument to the
   hsa_amd_agents_allow_access function.

Change-Id: I60b0dbbdc761078cd81906bc2c63a27d7e6b53e1
2020-04-10 18:26:13 -04:00
Evgeny 5a61fe67a9 reverting hpi flush function
[ROCm/roctracer commit: 57766f143e]
2020-04-10 15:57:59 -05:00
Evgeny 57766f143e reverting hpi flush function 2020-04-10 15:57:59 -05:00
Evgeny ff5e5bf40c adding ROCP_WITH_HIP_API_STRING macro
[ROCm/roctracer commit: fc79e36928]
2020-04-10 12:52:51 -05:00
Evgeny fc79e36928 adding ROCP_WITH_HIP_API_STRING macro 2020-04-10 12:52:51 -05:00
Evgeny 9ffbfc0bee txt2params.py packaging
Change-Id: Ia7221fbcbebc89c0dba8eca96ef9a4b01a258f05
2020-04-10 10:50:04 -05:00
Evgeny af7d1eff01 txt2params.py packaging
Change-Id: Ia7221fbcbebc89c0dba8eca96ef9a4b01a258f05


[ROCm/rocprofiler commit: 9ffbfc0bee]
2020-04-10 10:50:04 -05:00
Chris Freehill 1c9ef44398 Add checking for no-longer-existing process in test
When getting process information for a process, it's possible
that between the time the process ID was discovered and when
we attempt to collect data for that process, that the process
ended. This change is meant to handle that in the test case.

* Also, fix compile warning by removing unused variable.

Change-Id: I62f9a84a63548c856f0661fef15b7d248a330c05
2020-04-10 08:51:44 -05:00
Evgeny e568559864 using hipApiString() if defined
[ROCm/roctracer commit: a46c6984a2]
2020-04-10 01:15:20 -05:00
Evgeny a46c6984a2 using hipApiString() if defined 2020-04-10 01:15:20 -05:00
Evgeny f819e1c463 elliminaring the need of AMD_INTERNAL_BUILD macro defined
Change-Id: Ie97aef943793b1e4f40b7c7397af313520b35beb
2020-04-09 23:41:51 -05:00
Evgeny 31a7eac580 elliminaring the need of AMD_INTERNAL_BUILD macro defined
Change-Id: Ie97aef943793b1e4f40b7c7397af313520b35beb


[ROCm/rocprofiler commit: f819e1c463]
2020-04-09 23:41:51 -05:00
Evgeny Shcherbakov c96b4c4158 Merge "sysinfo metadata" into amd-master 2020-04-09 11:19:51 -04:00
Evgeny Shcherbakov 0d839e33d7 Merge "sysinfo metadata" into amd-master
[ROCm/rocprofiler commit: c96b4c4158]
2020-04-09 11:19:51 -04:00
Evgeny Shcherbakov 1b69ee9592 Merge "support for hip parallel streams" into amd-master 2020-04-09 09:57:06 -04:00
Evgeny Shcherbakov b9a2bbce8c Merge "support for hip parallel streams" into amd-master
[ROCm/rocprofiler commit: 1b69ee9592]
2020-04-09 09:57:06 -04:00
Ramesh Errabolu 89f7ef224c Extend Rocr Visible Devices functionality to include UUIDs
Change-Id: Ia2892e4033717556a422fe33dec0294fe2ca9e28
2020-04-09 00:42:53 -05:00
Ramesh Errabolu 45958c727d Extend ROCr to surface UUID of GPU devices that suppport
Change-Id: I478db68d69a01578770403fa695f9e6391637573
2020-04-08 19:19:22 -05:00
Chris Freehill f8b57c3b16 Add device mutual exclusion tests and related fixes
* Added a new test to verify mutual exclusion of access to device
  resources
* Added some missing acquiring of mutexes to some RSMI calls, as
  well as try-catch blocks.

Change-Id: I87aac009878a0b2d1f975e1d5b794d887bb23ff9
2020-04-08 15:05:11 -05:00
Rachida Kebichi 69b5c85c2b sysinfo metadata
Change-Id: Ic11dc307fe5f1c3cfd02e2dfb023930e4caab87f

fixes for json metadata generation

Change-Id: I9899693b6ece68cb5aeb9b756f7bef75c9e896bb
2020-04-08 12:27:02 -04:00
Rachida Kebichi 0f28213e7c sysinfo metadata
Change-Id: Ic11dc307fe5f1c3cfd02e2dfb023930e4caab87f

fixes for json metadata generation

Change-Id: I9899693b6ece68cb5aeb9b756f7bef75c9e896bb


[ROCm/rocprofiler commit: 69b5c85c2b]
2020-04-08 12:27:02 -04:00
Rachida Kebichi 2847137a49 support for hip parallel streams
Change-Id: I5db7a72b58d795e69111b326ded1fecb9420eaed

fixed issue with pattern sub in hip parallel streams code

Change-Id: I9e78bf79a11eefb109799c97fdca41642284870f
2020-04-08 12:24:56 -04:00
Rachida Kebichi da6413f8f1 support for hip parallel streams
Change-Id: I5db7a72b58d795e69111b326ded1fecb9420eaed

fixed issue with pattern sub in hip parallel streams code

Change-Id: I9e78bf79a11eefb109799c97fdca41642284870f


[ROCm/rocprofiler commit: 2847137a49]
2020-04-08 12:24:56 -04:00
Evgeny fdb8f55e02 adding standalone intercept test; queeu_start/stop API fixed as public;
Change-Id: I5489a5ff69454985b955c9e4027f812168de1ecb
2020-04-08 04:31:52 -05:00
Evgeny 5b725bbe7a adding standalone intercept test; queeu_start/stop API fixed as public;
Change-Id: I5489a5ff69454985b955c9e4027f812168de1ecb


[ROCm/rocprofiler commit: fdb8f55e02]
2020-04-08 04:31:52 -05:00
Chris Freehill 52196caaee Shared mutex fixes and improvements
* Don't make different shared memory mutexes for different users
* Don't delete (unlink) the shared mutex file if the mutex
  initialization fails. This may mess up other processes that
  are using it. Instead, print a message on how to resolve the
  situation, and then throw an error.

  Note, this situation comes up when debug builds (usually)
  either assert() or otherwise end execution without a proper
  clean up.
* Remove cpplint from shared_mutex code

Change-Id: I5f8ca6150cac5c2405fb97007516da345093f966
2020-04-06 17:08:33 -05:00
Sean Keely 884fed4f04 Correct initial kfd_open_count increment.
Don't set kfd_open_count=1 unless hsaKmtOpenKFD actually succeeds.
This prevents returning HSAKMT_STATUS_KERNEL_ALREADY_OPENED in
subsequent calls when KFD is actually closed.

Signed-off-by: Sean Keely <Sean.Keely@amd.com>
Change-Id: Ia870b5faa8626826a6c8795aa10784d376cf2e80
2020-04-03 21:05:07 -04:00
Mukul Joshi fd79e5c161 Add rsmi_topo_get_numa_affinity()
Given a device index, return the corresponding NUMA node for the
device.
Also, add NUMA node tests to Sys Info Read test.

Change-Id: I0df4937470e6362e6737ccea568d4b3e5890c91a
2020-04-01 11:38:08 -04:00
Pruthvi Madugundu 241cdfdd01 Updating the hsa include directory symlink creation
- Symlink creation is corrected only for deb packages
- It is follow up package of http://git.amd.com:8080/c/hsa/ec/hsa-runtime/+/334403
- configure_file() is called to update the scripts with proper cmake variable values

Signed-off-by: Pruthvi Madugundu <pruthvi.madugundu@amd.com>
Change-Id: I0e833ead265166411e83593fd57265a9ab356904
2020-04-01 02:17:11 -07:00
eshcherb e27d06df05 Merge pull request #37 from rkebichi/patch-1
ostream ops for HIP

[ROCm/roctracer commit: fd0db85008]
2020-03-31 13:14:21 -05:00
eshcherb fd0db85008 Merge pull request #37 from rkebichi/patch-1
ostream ops for HIP
2020-03-31 13:14:21 -05:00
rkebichi 3199f58557 Update tracer_tool.cpp
[ROCm/roctracer commit: a6878a7ce5]
2020-03-30 19:06:10 -04:00
rkebichi a6878a7ce5 Update tracer_tool.cpp 2020-03-30 19:06:10 -04:00
rkebichi 6a2613fd4b Update tracer_tool.cpp
[ROCm/roctracer commit: 3ab6e03bda]
2020-03-30 17:02:59 -04:00
rkebichi 3ab6e03bda Update tracer_tool.cpp 2020-03-30 17:02:59 -04:00
rkebichi 2394431716 Update CMakeLists.txt
Adding ostream ops for HIP.

[ROCm/roctracer commit: eabcc06785]
2020-03-30 16:59:11 -04:00
rkebichi eabcc06785 Update CMakeLists.txt
Adding ostream ops for HIP.
2020-03-30 16:59:11 -04:00
Evgeny aac37d4d1e fixing CPACK prefix to by just rocm root path
Change-Id: I8caf5832aa9536b1e891e07cb992dd5258b8755d
2020-03-29 01:09:11 -05:00
Evgeny 05c3b879d9 fixing CPACK prefix to by just rocm root path
Change-Id: I8caf5832aa9536b1e891e07cb992dd5258b8755d


[ROCm/rocprofiler commit: aac37d4d1e]
2020-03-29 01:09:11 -05:00
Evgeny 2fae5236d5 test scripts update
[ROCm/roctracer commit: 01bd142fd3]
2020-03-28 22:01:09 -05:00
Evgeny 01bd142fd3 test scripts update 2020-03-28 22:01:09 -05:00
Evgeny 64336dc38e build and test scripts update
[ROCm/roctracer commit: 9f45b76a3d]
2020-03-28 21:39:31 -05:00
Evgeny 9f45b76a3d build and test scripts update 2020-03-28 21:39:31 -05:00
Evgeny 7be9a42ab3 fixing hsa intercept test
Change-Id: I2671dfc6a9bd3e01a0c926aa3ea367b8c7a0279e
2020-03-28 17:24:16 -05:00
Evgeny 943b92d4c7 fixing hsa intercept test
Change-Id: I2671dfc6a9bd3e01a0c926aa3ea367b8c7a0279e


[ROCm/rocprofiler commit: 7be9a42ab3]
2020-03-28 17:24:16 -05:00
Evgeny 9df9fddcfb PC sampling bringup
Change-Id: I0d041c4c8c3778f2c328cde38432bc72223706a3

pc sampling integration fix

Change-Id: Ia66ff876d2d99ec4d561daf8320b65d75f5cd2fe
2020-03-28 13:07:45 -05:00
Evgeny 67e1502ce5 PC sampling bringup
Change-Id: I0d041c4c8c3778f2c328cde38432bc72223706a3

pc sampling integration fix

Change-Id: Ia66ff876d2d99ec4d561daf8320b65d75f5cd2fe


[ROCm/rocprofiler commit: 9df9fddcfb]
2020-03-28 13:07:45 -05:00
Evgeny 4c921407ac hip streams trace prep changes
Change-Id: Ie1b53c2066b0bb8e35a94ecbe993b6106ca17d44
2020-03-27 16:46:25 -05:00