Commit Graph

13501 Commits

Author SHA1 Message Date
eshcherb c71861c5ca Merge pull request #24 from mxz297/kfdwrapper-install
Install libkfdwrapper64.so

[ROCm/roctracer commit: b7faba432a]
2019-10-25 13:01:43 -05:00
eshcherb b7faba432a Merge pull request #24 from mxz297/kfdwrapper-install
Install libkfdwrapper64.so
2019-10-25 13:01:43 -05:00
Evgeny 130be9b91e reverting ld_library_path
[ROCm/roctracer commit: daac4fad76]
2019-10-25 10:11:16 -05:00
Evgeny daac4fad76 reverting ld_library_path 2019-10-25 10:11:16 -05:00
Evgeny d6aaf049cf hsa and hip tracing interf2erence
[ROCm/roctracer commit: 640e24ea9a]
2019-10-25 02:10:09 -05:00
Evgeny 640e24ea9a hsa and hip tracing interf2erence 2019-10-25 02:10:09 -05:00
Evgeny 61dbb74c8a hip-vdi changes
[ROCm/roctracer commit: eb4bf2dac6]
2019-10-25 00:53:26 -05:00
Evgeny eb4bf2dac6 hip-vdi changes 2019-10-25 00:53:26 -05:00
Evgeny 30fbd01542 hip trac elayer generator removing - it is located in hip
[ROCm/roctracer commit: 064a7021a0]
2019-10-23 17:20:37 -05:00
Evgeny 064a7021a0 hip trac elayer generator removing - it is located in hip 2019-10-23 17:20:37 -05:00
Yong Zhao da9a404ac3 kfdtest: Add a function to wait indefinitely until user input
This will facilitate the need of halting the execution during debugging.

Change-Id: I058c81bbc9f655bbc477b2b542d6b43aa423324c
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-10-23 11:07:43 -04:00
Evgeny eb908692c2 hip-vdi library name
[ROCm/roctracer commit: 807745c573]
2019-10-22 17:44:37 -05:00
Evgeny 807745c573 hip-vdi library name 2019-10-22 17:44:37 -05:00
Evgeny cafb291589 hip-clang fixes
[ROCm/roctracer commit: 3d021b1f0b]
2019-10-22 15:38:06 -05:00
Evgeny 3d021b1f0b hip-clang fixes 2019-10-22 15:38:06 -05:00
rkebichi 345a17fc8e Update gen_ostream_ops.py
[ROCm/roctracer commit: 93e0330047]
2019-10-22 15:22:59 -04:00
rkebichi 93e0330047 Update gen_ostream_ops.py 2019-10-22 15:22:59 -04:00
rkebichi 29261f9737 Update roctracer_kfd.h
[ROCm/roctracer commit: 5ae9aa1492]
2019-10-22 15:18:45 -04:00
rkebichi 5ae9aa1492 Update roctracer_kfd.h 2019-10-22 15:18:45 -04:00
Yong Zhao ac5c433420 kfdtest: Add a Nop packet submission test for CP and SDMA queue
The tests are useful to triage the fundamental queue submission
functionality by excluding the packet format variable from the equation.

Change-Id: I2c7fcda811f93bdefc1b62396233559416be44e7
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-10-22 13:42:33 -04:00
Yong Zhao 75c654cfea kfdtest: Add SDMANopPacket class
The class is very useful for triaging complex SDMA issues.

Change-Id: Ib5de729f7fc62f41e894ef98d3967e7e1745d454
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-10-22 13:41:44 -04:00
Evgeny 017f7c2a2d adding PREFIX_PATH env vsr to build script
[ROCm/roctracer commit: 975656ef09]
2019-10-22 11:18:33 -05:00
Evgeny 975656ef09 adding PREFIX_PATH env vsr to build script 2019-10-22 11:18:33 -05:00
Yong Zhao 98b0652917 kfdtest: Add a core test filter for software scheduler mode
The new filter can be used by "./run_kfdtest.sh -p core_sws".

Change-Id: I1c43669cfc07c09ccafb9fa2e2851932ac59307d
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-10-22 11:23:33 -04:00
Yong Zhao ffbdb726ac kfdtest: Temporarily disable performance counter tests for gfx1010
We are still working on those tests for gfx1010, so disable them
temporarily.

Change-Id: I5d51b4b02bc753137014684859cc033f759b2899
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-10-22 10:39:58 -04:00
Evgeny 693111434b hip-vdi support
[ROCm/roctracer commit: 72a2571b22]
2019-10-21 23:03:20 -05:00
Evgeny 72a2571b22 hip-vdi support 2019-10-21 23:03:20 -05:00
Evgeny 05a07a9e7f roctx/start/stop interaction
[ROCm/roctracer commit: 57051220a1]
2019-10-21 21:18:54 -05:00
Evgeny 57051220a1 roctx/start/stop interaction 2019-10-21 21:18:54 -05:00
Felix Kuehling bee47ab013 libhsakmt: Fix installation path for pkg-config file
CMAKE_INSTALL_PREFIX would give incorrect result for packages
build by CPack.

Change-Id: Iaeb4d30eb44080b7924ecf892de011ed6e365f5f
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2019-10-21 14:53:54 -04:00
Yong Zhao ab2daf6538 libhsakmt: Add a message when a device is not supported
This helps to quickly triage problems.

Change-Id: Iad2b4b74209ab972be0c2f6311eeb3aaf098d29f
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-10-20 12:44:13 -04:00
Xiaozhu Meng 9e2512a9c5 Install libkfdwrapper64.so
[ROCm/roctracer commit: 017e792506]
2019-10-18 14:24:00 -05:00
Xiaozhu Meng 017e792506 Install libkfdwrapper64.so 2019-10-18 14:24:00 -05:00
Chris Freehill 3a26a7270c Support rsmitst blacklisting by adding an exclude file
Change-Id: I9d581b8e24363a688b58a6ca59a6521c7be364d7
2019-10-17 13:47:02 -05:00
Yong Zhao 1c7755d2da libhsakmt: Add gfx1012 device IDs
Now the gfx1012 device IDs are okay to reveal.

Change-Id: I9da2a036b74ec7b6b8b1fb7587597a5847f02205
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-10-17 12:35:22 -04:00
Yong Zhao 16fa78b134 libhsakmt: Print an error message when map_mmio failes
Without this change, the failure was hard to notice when it happened.

Change-Id: I99c3e8cea0d0cbd3bcfe79069410e6e870e225bf
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-10-17 12:32:32 -04:00
Amber Lin 23541e0289 libhsakmt: handle CPU cache info on non-NUMA sys
When CONFIG_NUMA is not enabled in the kernel config, only one CPU node
presents on the system and /sys/devices/system/node/nodeX directories
don't exist. Read CPU cache information from /sys/devices/system/cpu in
this situation.

Change-Id: I017ff17dd72678a0551edcc77446664501aa42ca
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2019-10-17 11:53:19 -04:00
Eric Huang 0174377351 kfdtest: add xgmi path for p2p tests
When large bar is not available, we can use
xgmi to do p2p tests.

Change-Id: Ib7b59fb8a4d41f605739a0428973f6b2f1a3450f
Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>
2019-10-17 10:21:10 -04:00
Chris Freehill ee13e85265 Correct README Markdown formatting
Change-Id: Id63618fc7fa7fa7cdc68bcd451cbe89ef2c04469
2019-10-17 08:38:50 -05:00
rkebichi d27a758378 Update kfdap.py
Fix for handling any api return types.

[ROCm/roctracer commit: 30c4351378]
2019-10-16 16:40:40 -04:00
rkebichi 30c4351378 Update kfdap.py
Fix for handling any api return types.
2019-10-16 16:40:40 -04:00
Evgeny c0a2a235d0 KFD_WRAPPER macro
[ROCm/roctracer commit: c2cb1f2ab9]
2019-10-16 12:18:13 -05:00
Evgeny c2cb1f2ab9 KFD_WRAPPER macro 2019-10-16 12:18:13 -05:00
Chris Freehill 53228ad819 Add some gfx1xxx targets
This is to fix 

Change-Id: I69a87884d8174733905e4c007cf0f19b5103482a
2019-10-16 09:01:22 -04:00
Evgeny 62c9b25924 conditional building of kfd wrapper
[ROCm/roctracer commit: b2c23f63d5]
2019-10-15 11:15:48 -05:00
Evgeny b2c23f63d5 conditional building of kfd wrapper 2019-10-15 11:15:48 -05:00
Evgeny 00ca6d8a78 changing trace control to <delay:length:rate>
Change-Id: I6eca07257ab8d06972e4eba6ee04ae1200b50fe9
2019-10-10 19:04:30 -05:00
Evgeny d446ac5a9b changing trace control to <delay:length:rate>
Change-Id: I6eca07257ab8d06972e4eba6ee04ae1200b50fe9


[ROCm/rocprofiler commit: 00ca6d8a78]
2019-10-10 19:04:30 -05:00
Evgeny 95af54bc17 changing trac control to <delay:length:rate>
[ROCm/roctracer commit: b10ec59e6c]
2019-10-10 19:02:40 -05:00
Evgeny b10ec59e6c changing trac control to <delay:length:rate> 2019-10-10 19:02:40 -05:00