Commit Graph

8920 Commits

Author SHA1 Message Date
Evgeny 78c432aee2 metrics fixes 2018-02-08 13:31:43 -06:00
Harish Kasiviswanathan 7de0199e99 CMA: Initialize SizeCopied return parameter
UCX test cases are reporting uninitialized values when CMA fails. The
application should ideally ignore SizeCopied when the function fails but
it doesn't. This is leading to wrong diagnosis.

v2: Fill in partial SizeCopied in case of failure

Change-Id: I6b7e1c19a8b702ec91ca64201a3dda27bd897877
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
2018-02-08 12:46:40 -05:00
Evgeny 6560364df1 adding major and minor library versions 2018-02-07 09:41:17 -06:00
James Edwards b913795c31 : Fix compilation errors with gcc 7.2.1 for hsa runtime.
Change-Id: I3356388753ca78cc0f1e0c3188220d7f3f60283d
2018-02-07 09:22:39 -06:00
Evgeny 8a8d7ad814 ExecutePM4 queue full check fix
Change-Id: Id56ece6d3f5eab1ef3a2758922022f0996c1efe4
2018-02-05 19:35:39 -06:00
Chris Freehill 3449f7dea6 Don't support platform atomics for gfx9XX
Change-Id: I302c862494e221ae2b6b3e1a843f06586b0b28ba
2018-02-02 18:21:16 -05:00
Evgeny ff1e5b67a7 read API 2018-02-02 15:38:28 -06:00
Evgeny a3fc58e966 minor change, const ptr 2018-02-02 15:14:15 -06:00
Evgeny 19676a74c9 minor change 2018-02-02 15:02:26 -06:00
Evgeny 74a3321ef3 info API 2018-02-02 14:55:03 -06:00
Evgeny 51e0293b1a fixwd SQ_ACTIVE_INST_VALU=71 2018-02-02 14:40:48 -06:00
Evgeny ac1dfb13cc minor changes 2018-02-02 14:29:58 -06:00
Yong Zhao 55bb61ff9c Revert "Workaround: make mmap memory resident for gfx902"
This reverts commit 716755b1de.

Change-Id: I9f4f0b6b426aeae4cb652b33cf0d4c0f57270ca5
Signed-off-by: Yong Zhao <yong.zhao@amd.com>
2018-02-02 12:31:06 -05:00
Evgeny 79510b8c6c resources releasing; metrics 2018-02-01 14:52:21 -06:00
Sean Keely f59b001c75 Guard against IPC signal use of when profiling copy APIs.
Also update IPC signal API text to allow single process profiling with IPC signals.

Change-Id: I90b246623129d57183acb4ba1789beec360547c3
2018-01-31 19:05:32 -05:00
Sean Keely 91f559802d Revert CRAT table workaround.
Change-Id: Ic2bf9e1fb1d00c5a31d52560e0eb37e0ae1ab08a
2018-01-30 18:26:53 -06:00
Tony Tye d472b24d05 Add support for R_AMDGPU_RELATIVE64
- Add support for R_AMDGPU_RELATIVE64 relocation record.
- Return status error if any unsupported relocation record encountered.

Change-Id: Icbb5dcb81109a70c1f2195412a0df58a11be9da1
2018-01-30 18:20:26 -05:00
Chris Freehill 8bf85cc668 Temporarily disable rocm-smi to integrate with new rocm-smi
Change-Id: I06701cd4ac80bb4f3a9ae48d5374b7d4a788f8a4
2018-01-26 06:44:01 -06:00
Laurent Morichetti 056ddbbc82 Silence Valgrind warnings
Change-Id: I8803f3d310fccd69d0d04b2464b00dccc40270e3
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2018-01-25 16:48:17 -05:00
Evgeny 58e879343f fixing SQTT copy mode result buffer allocation 2018-01-23 18:57:45 -06:00
Evgeny 9a9418ad16 fixing resources releasing 2018-01-22 17:02:46 -06:00
rohit pathania ee917eca68 Added CPU to GPU and GPU to CPU MemoryAccess Tests, Added enqueue latency Tests
Change-Id: I18643d283101b792fa25705c8149ddc5a9eefe73
2018-01-08 04:11:32 -05:00
Evgeny c00a0feb36 minor changes 2018-01-04 20:11:30 -06:00
Amber Lin 7031a77428 Update README to reflect cmake change
New CMakeLists.txt sets a default module search so -DCMAKE_MODULE_PATH is
no longer required in the command.

Change-Id: I95189ce2f36016b7c4929239d0e512851bec5ef6
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2018-01-04 15:55:20 -05:00
Evgeny 556ada8372 fixing error handling 2018-01-02 18:09:37 -06:00
Gregory Stoner fd277f36c0 Update rocm_agent_enumerator 2017-12-23 13:09:02 -06:00
Gregory Stoner 57a7080ebb Update rocm_agent_enumerator 2017-12-23 13:01:11 -06:00
Gregory Stoner f5334a2ba3 Add support for RX580 2017-12-23 13:00:37 -06:00
Evgeny 7552ecf192 removing default arg value, not supported by c compiler 2017-12-22 15:42:12 -06:00
Evgeny e4b6330eae minor changes 2017-12-22 15:36:40 -06:00
Evgeny ccdb4fce0e check for uninitialized context array on final dump in the case if the test failed 2017-12-22 12:39:55 -06:00
Evgeny 77cec10648 initializing results on get-data; kernel name in sqtt output file name; 2017-12-22 10:22:47 -06:00
Evgeny 06471db7eb storing outstanding contexts in map 2017-12-22 00:12:23 -06:00
Evgeny b8403823f0 contexts complition signals destrotying 2017-12-21 22:24:32 -06:00
Evgeny daad2bc3d1 fixing simple proxy queue implementation, write index supporting for checking the queue overflow 2017-12-20 21:18:01 -06:00
Chris Freehill 563581223c Report physical memory instead of virtual memory
Change-Id: I18105e3982a96aea40e05cd78521c0c3acf75de4
2017-12-20 22:11:50 -04:00
Evgeny d47ce7f51d minor changes 2017-12-20 19:00:47 -06:00
Sean Keely fe1763848a Merge system heap info.
Workaround pending thunk spec clarification.

Change-Id: I9d96227efde3a551157733cf4050d474d1e658f2
2017-12-19 18:57:29 -06:00
Evgeny 8270530fec several fixes; adding direct loading of alprofile library 2017-12-19 15:32:34 -06:00
Amber Lin 8bc83e1e9b Update README to include new requirement
Latest Thunk requires the user to belong to video group. Add this
statement to README.md to notify external users on Github.

Change-Id: Id9843abf09de5b63a3b7c3f7b322bc9099c6ff1a
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-12-18 12:10:24 -05:00
rohit pathania 7310312291 Resubmitted added and modified common utilities functions for rocrtest with faile to open file fix
Change-Id: Ie45668df1a15c1be7e8bdb10b967b98fb3024252
2017-12-18 05:06:22 -04:00
Kent Russell c3a880db7d Revert "added and modified common utilities functions for rocrtest"
This reverts commit 7e46704abb.

Change-Id: I825b210ce4fc831f8a978faf1c7d83d54408efa4
2017-12-15 06:04:50 -05:00
Sean Keely b49e5b4917 Remove region/pool size limits for 902.
Temporary measure. Must be reverted once CRAT tables have been fixed.

Change-Id: Id2f2673edbf7b6fc5752f8d871042b4bf4de653c
2017-12-14 16:02:05 -05:00
Yong Zhao 716755b1de Workaround: make mmap memory resident for gfx902
Change-Id: I5f90f316740f7995d54cb083a6d7e05bc4e2966e
Signed-off-by: Yong Zhao <yong.zhao@amd.com>
2017-12-14 15:11:01 -05:00
rohit pathania 7e46704abb added and modified common utilities functions for rocrtest
Change-Id: I80afa33a46b3d95058be306869e7ed54b2b7df64
2017-12-14 12:01:16 -05:00
Evgeny 84644dc732 context handler fix 2017-12-13 20:29:23 -06:00
Evgeny 8f6ee97b13 C++ kernel name demangling 2017-12-13 16:51:43 -06:00
Sean Keely 1addb5e684 Don't use double mappings on GFX9 APUs.
Change-Id: I1225696211d4eac9ce982243ea0a1a9e8b2a318f
2017-12-08 20:18:02 -05:00
Yong Zhao 0f83774635 Report gfx902 as GFX 9.0.2
This change is needed to match other higher level components.

Change-Id: I45114d23f2ed428dfbbb836061b3020c5ab166ec
Signed-off-by: Yong Zhao <yong.zhao@amd.com>
2017-12-07 16:08:10 -05:00
Sean Keely ca4c884306 Report library load errors in debug builds.
Change-Id: I24e63b15ad74fb86ecfe839f543800c2140c09d9
2017-12-05 18:49:33 -05:00