Evgeny
0efdd937a2
minor change
...
Change-Id: I365e3c671c829c6b205587f5770f70cef5bbddfb
2020-06-02 06:07:08 -04:00
Evgeny
cdc701a09b
minor change
...
Change-Id: I365e3c671c829c6b205587f5770f70cef5bbddfb
[ROCm/rocprofiler commit: 0efdd937a2 ]
2020-06-02 06:07:08 -04:00
Evgeny
59a4ae9abb
list-derived/basic fixed
...
Change-Id: I2038eac424b1485c304ffecf35ba2a0965de5f3b
2020-06-01 22:04:37 -04:00
Evgeny
59f6ad23fc
list-derived/basic fixed
...
Change-Id: I2038eac424b1485c304ffecf35ba2a0965de5f3b
[ROCm/rocprofiler commit: 59a4ae9abb ]
2020-06-01 22:04:37 -04:00
Evgeny
1c11cd087b
ocl samples disabling
...
Change-Id: I8012e226f96246ed70974048a87e67da9d01753c
2020-06-01 18:07:52 -05:00
Evgeny
4672ded98d
ocl samples disabling
...
Change-Id: I8012e226f96246ed70974048a87e67da9d01753c
[ROCm/rocprofiler commit: 1c11cd087b ]
2020-06-01 18:07:52 -05:00
Evgeny
ce8eddc2ec
run test environment
...
Change-Id: If4b780357c807f88d09d7728d13d3c616b424474
[ROCm/roctracer commit: 8d0801de75 ]
2020-06-01 12:54:35 -05:00
Evgeny
8d0801de75
run test environment
...
Change-Id: If4b780357c807f88d09d7728d13d3c616b424474
2020-06-01 12:54:35 -05:00
Konstantin Zhuravlyov
9eb735ec24
Add support for code object URI to ROCr
...
Adds the following:
- New factory method to create a code object reader from
file with offset and size.
- A pair of queries on a loaded code object to get the URI name/length.
- A bump to the AMD vendor loader extension API and its associated table.
Change-Id: I17c83e9c2447d29a43c438459395365f786a3611
2020-06-01 11:07:50 -04:00
Evgeny Shcherbakov
ce5b5ed9bc
Merge "setting code-obj tracking by default" into amd-master
2020-05-30 03:34:46 -04:00
Evgeny Shcherbakov
693ce472d0
Merge "setting code-obj tracking by default" into amd-master
...
[ROCm/rocprofiler commit: ce5b5ed9bc ]
2020-05-30 03:34:46 -04:00
Evgeny Shcherbakov
f2fc34c4c3
Merge "fixin build: check script residing in build area" into amd-master
...
[ROCm/roctracer commit: 6b58ea8161 ]
2020-05-30 03:34:08 -04:00
Evgeny Shcherbakov
6b58ea8161
Merge "fixin build: check script residing in build area" into amd-master
2020-05-30 03:34:08 -04:00
Evgeny
9b29e01816
fixin build: check script residing in build area
...
Change-Id: I1a3d794b24c7506d5e24c341c61fe45b31238002
[ROCm/roctracer commit: 1e7650074a ]
2020-05-29 16:09:13 -05:00
Evgeny
1e7650074a
fixin build: check script residing in build area
...
Change-Id: I1a3d794b24c7506d5e24c341c61fe45b31238002
2020-05-29 16:09:13 -05:00
Mukul Joshi
633c852f5d
Print VRAM usage in rsmitst
...
Print VRAM usage information in TestProcInfoRead.
Also, fix output formatting when running TestProcInfoRead.
Change-Id: I9efed808458ef4645145610f6f564f0f2baadea2
2020-05-29 15:48:06 -04:00
Evgeny
802ee7dee6
hipLaunchKernel kernel name fix
...
Change-Id: I59c63ec34f77fe39ed1edc8b6395db3871004e40
[ROCm/roctracer commit: 511f659a8e ]
2020-05-29 13:16:14 -04:00
Evgeny
511f659a8e
hipLaunchKernel kernel name fix
...
Change-Id: I59c63ec34f77fe39ed1edc8b6395db3871004e40
2020-05-29 13:16:14 -04:00
Gang Ba
d675d1cce1
libhsakmt: add Streaming Performance Monitors APIs
...
Signed-off-by: Gang Ba <gaba@amd.com >
Change-Id: I5c23a8dacf9bc50c740908aabe391432f2c7112e
Signed-off-by: Gang Ba <gaba@amd.com >
2020-05-29 09:34:31 -04:00
Sean Keely
4e0bf29704
Separate memory map info printing from vmfault handler.
...
Allows the print utility to be called from GDB.
Change-Id: Ia27ff9ba23ad6c0117ba1278693d4c8b0473bdc1
2020-05-28 23:34:49 -04:00
Sean Keely
32bb10086d
Select a non-empty pool for image kernarg.
...
Zero size pools have no numa bindings. Selecting a pool with numa
bindings should prevent thrashing due to numa balancing daemon.
Change-Id: Ib0082cb9af66e24e07a2adbb83c1045145d51403
2020-05-28 23:34:42 -04:00
Sean Keely
40d1931209
Relocate initial system clock setup.
...
This has nothing to do with registering agents.
Moved to Runtime::Load.
Change-Id: I0f84c9d8f5a68d458717111113f02af56c92f4f6
2020-05-28 23:34:30 -04:00
Sean Keely
29b660c91e
Correct IPC fragment reuse.
...
Memory from the suballocator may be exported via IPC. If this
happens then the allocating process should not reuse that memory
since it would still be connected to the remote process. IPC exported
memory must be released back to the driver.
Change-Id: I2ab0c814f63191f753fc3640cc4140ee144bf07f
2020-05-28 21:46:02 -04:00
Sean Keely
09ebc21d13
Remove PointerInfo fragment branch.
...
All types which could be generated from a fragment need to take this branch.
Taking the branch is correct for all types, it was a performance optimization
only and was missing IPC. Branch removal simplifies updates for any future
fragment use and will allow CQE to report any performance issues that might
require bringing the branch back.
Change-Id: I8041788c422e880b764e144eb1877f5126ba76f3
2020-05-28 21:46:02 -04:00
Sean Keely
397608e2c0
Fix pointer info block base address fetch.
...
Thunk may report nullptr for host base if the host does not have
access. Use agent base in this case.
Change-Id: I44883d35a3fff0941b1e3037d16b059591a6c511
2020-05-28 21:46:02 -04:00
Evgeny
201fc86f5c
workaround for hipLaunchKernel not having kernel name
...
Change-Id: I7d165a7d897cced7b6045f084d2112a0e9e33e69
2020-05-28 16:58:33 -05:00
Evgeny
686152d347
workaround for hipLaunchKernel not having kernel name
...
Change-Id: I7d165a7d897cced7b6045f084d2112a0e9e33e69
[ROCm/rocprofiler commit: 201fc86f5c ]
2020-05-28 16:58:33 -05:00
Joseph Greathouse
3fe95c696a
Add ability to get ASIC revision from hsa_agent_get_info()
...
Change-Id: Ie30c64f9e02f9e704c9a4c4145deb9580429fdf6
2020-05-28 14:25:13 -05:00
Evgeny
30db99e758
setting code-obj tracking by default
...
Change-Id: Id6a97a7dc77faa3b7eb0e2b81b75c13ca7fc5818
2020-05-28 03:43:12 -05:00
Evgeny
676669c2c0
setting code-obj tracking by default
...
Change-Id: Id6a97a7dc77faa3b7eb0e2b81b75c13ca7fc5818
[ROCm/rocprofiler commit: 30db99e758 ]
2020-05-28 03:43:12 -05:00
Evgeny
691d8c1809
testing fix
...
Change-Id: I4950c3ddeb79947eb311c4f008ad91b7311bb9b3
[ROCm/roctracer commit: 157bceebdf ]
2020-05-28 02:17:01 -05:00
Evgeny
157bceebdf
testing fix
...
Change-Id: I4950c3ddeb79947eb311c4f008ad91b7311bb9b3
2020-05-28 02:17:01 -05:00
Chris Freehill
42c10633b6
Check only the minor ioctl version for event support
...
Change-Id: I70ddab4298a62178b2509a0365ee4cd6937302c1
2020-05-27 09:27:01 -04:00
Evgeny
ecf2c9e22b
disabling kernel name printing for kernel launches by func pointer and ostream operator template
...
Change-Id: Icbcedafb1812a1be03837f6cb47283eb0d382ad2
[ROCm/roctracer commit: 9d4a58f6da ]
2020-05-27 05:23:29 -04:00
Evgeny
9d4a58f6da
disabling kernel name printing for kernel launches by func pointer and ostream operator template
...
Change-Id: Icbcedafb1812a1be03837f6cb47283eb0d382ad2
2020-05-27 05:23:29 -04:00
Evgeny
4debecbc3c
removing /opt/rocm hardcoding
...
Change-Id: Ifb041a76a0c6fa943f72a9228197f371ad384bb7
2020-05-26 21:56:07 -05:00
Evgeny
dc8b22ca01
removing /opt/rocm hardcoding
...
Change-Id: Ifb041a76a0c6fa943f72a9228197f371ad384bb7
[ROCm/rocprofiler commit: 4debecbc3c ]
2020-05-26 21:56:07 -05:00
Mukul Joshi
e30ebbc787
Add support to retrieve process VRAM usage information.
...
Change-Id: I60843a99207a658022a26aa346b79f91863833cf
2020-05-26 15:19:24 -04:00
Joseph Greathouse
5ddd8fb68b
Pull out ASIC revision from HSA capability
...
KFD now passes the ASIC revision to user level through some bits
in the HSA topology's capability field. Some user-level software
wants this because different ASIC revisions may require user-level
software to do different things (e.g. patch code for things that
are changed in later hardware revisions).
Change-Id: I16f2a15ae0875edd01ebdb1f1685ec7865f7049e
2020-05-22 10:39:13 -05:00
Philip.Cox@amd.com
0a55f31463
Initial kfd debugger address watch support
...
Code for new kfd debugger address watch code.
-- Adding support for:
-- add address watch
-- clear address watch
Change-Id: I9b014e7cee03897157b997b9e5b39b6ed403b8e1
Signed-off-by: Philip.Cox@amd.com <Philip.Cox@amd.com >
2020-05-21 13:41:55 -04:00
Evgeny
755333d0b8
renaming PCSAMPLE API as RESERVED1
...
Change-Id: I0f95e4be5b359dc36fc3542bf0e321094db78a79
[ROCm/roctracer commit: da4b244887 ]
2020-05-21 11:51:17 -05:00
Evgeny
da4b244887
renaming PCSAMPLE API as RESERVED1
...
Change-Id: I0f95e4be5b359dc36fc3542bf0e321094db78a79
2020-05-21 11:51:17 -05:00
Chris Freehill
bdf22c1c9e
Update README doc. build instructions
...
* Also, remove dependency of manual pdf on the README
file; they are independent of each other.
Change-Id: I1ab8c8c9adf6b78e5b4aab86ecdf4c46f3a6bf63
2020-05-21 09:10:08 -04:00
Evgeny
63c16c8804
fising mytest environment
...
Change-Id: Ic48c95e711758c3e448c317bc78c1bceeb22362c
[ROCm/roctracer commit: 7c5cfafa30 ]
2020-05-20 00:44:58 -05:00
Evgeny
7c5cfafa30
fising mytest environment
...
Change-Id: Ic48c95e711758c3e448c317bc78c1bceeb22362c
2020-05-20 00:44:58 -05:00
Laurent Morichetti
584ef1e1ca
Clear mode.debug_en if !status.halt
...
The 1st level trap handler jumps to the 2nd level trap handler on
context save requests or regular traps if (mode.debug_en
&& !status.halt) is true.
If we return from the 2nd level trap handler without status.halt=1, then
we need to make sure mode.debug_en is cleared, or we will re-enter the
2nd level trap handler again and again when trapsts.savectx is set.
Change-Id: I4db6369de8c91a32842f488a4df5c9d94fa65aa9
2020-05-19 18:31:29 -07:00
Evgeny
d6cd83491e
fix hsa_path
...
Change-Id: I07c6a504ec1892f314fcbb207656baaf0e356864
[ROCm/roctracer commit: c956bb9c6b ]
2020-05-19 17:20:25 -05:00
Evgeny
c956bb9c6b
fix hsa_path
...
Change-Id: I07c6a504ec1892f314fcbb207656baaf0e356864
2020-05-19 17:20:25 -05:00
Chris Freehill
754a993d32
Return an error instead of assert when reading bad data
...
Assert doesn't help with release builds.
Change-Id: Ib076791fd442e96c7544914cdf08774fc7a40a94
2020-05-19 15:58:40 -04:00
Rachida Kebichi
22f2375dd2
Added check trace with config.
...
Change-Id: I1c71793c4c6f512288e92f70105f428c3f8671c4
[ROCm/roctracer commit: 8cece61689 ]
2020-05-19 09:47:19 -05:00