Commit Graph

13501 Commits

Author SHA1 Message Date
Evgeny 235762d394 hip API parser update, not found error 2019-03-14 20:31:41 -05:00
Evgeny 4b54ac24e7 update
[ROCm/roctracer commit: 61973ffdbb]
2019-03-13 21:30:29 -05:00
Evgeny 61973ffdbb update 2019-03-13 21:30:29 -05:00
Evgeny fd5a64f310 instance creation fix
[ROCm/roctracer commit: 69a480a971]
2019-03-13 15:54:47 -05:00
Evgeny 69a480a971 instance creation fix 2019-03-13 15:54:47 -05:00
Evgeny 1ed97815f1 creation fix
Change-Id: I717d96555677664ce0a926cf1c3c3c48f55287d9
2019-03-13 15:17:56 -05:00
Evgeny 8b6c9cc839 creation fix
Change-Id: I717d96555677664ce0a926cf1c3c3c48f55287d9


[ROCm/rocprofiler commit: 1ed97815f1]
2019-03-13 15:17:56 -05:00
Evgeny f834529669 improving rocprof tracing usage
Change-Id: I4db513c93406a7038b8b681d12a0dc4298975f01
2019-03-12 18:19:17 -05:00
Evgeny 1ecd03ea5e improving rocprof tracing usage
Change-Id: I4db513c93406a7038b8b681d12a0dc4298975f01


[ROCm/rocprofiler commit: f834529669]
2019-03-12 18:19:17 -05:00
Jenkins d7c944e82a Merge 'master' into 'amd-master'
Change-Id: Id29a68f2351b58f7f7954e5014767333fb951609
2019-03-12 04:09:54 -05:00
Evgeny c86095100b minor cosmetic output change
[ROCm/roctracer commit: d2216d0f9c]
2019-03-11 21:15:34 -05:00
Evgeny d2216d0f9c minor cosmetic output change 2019-03-11 21:15:34 -05:00
Chris Freehill 9144cad744 Merge pull request #27 from cfreehill/master
Use system tables for gpu names instead of internal table
2019-03-11 18:09:53 -05:00
Chris Freehill 58d5ff7509 Use system files to look up gpu names instead of internal table 2019-03-11 18:06:50 -05:00
Chris Freehill eaa5def17f Use system files to look up gpu names instead of internal table 2019-03-11 17:56:58 -05:00
Chris Freehill e9e54bc4d4 Merge pull request #26 from cfreehill/master
Add table for GPU name look up to give better name than just "amdgpu"
2019-03-10 18:07:20 -05:00
Chris Freehill d39752cee7 Add table for GPU name look to give better name than just "amdgpu" 2019-03-10 17:56:06 -05:00
Evgeny f00d845998 fix instance creation
[ROCm/roctracer commit: 5dd9f0d9b2]
2019-03-07 23:57:04 -06:00
Evgeny 5dd9f0d9b2 fix instance creation 2019-03-07 23:57:04 -06:00
Evgeny b278dc452a scripts fixes
Change-Id: Ie14589e465d8100c06f19da437ee6aa67999509f
2019-03-07 23:55:30 -06:00
Evgeny 186c45b5c6 scripts fixes
Change-Id: Ie14589e465d8100c06f19da437ee6aa67999509f


[ROCm/rocprofiler commit: b278dc452a]
2019-03-07 23:55:30 -06:00
Sean Keely fd9fb77e28 Do not strip release builds.
Customer request.

Change-Id: Id77dcdc0b6908c7a5e460edfd7d9468a1691e351
2019-03-07 14:04:14 -06:00
Evgeny df860838a2 supporting original hsa api table
Change-Id: Ia98554c137a3ec6433d8234ba17ca4dc2f2be940
2019-03-06 13:41:54 -06:00
Evgeny 222ef52c5d supporting original hsa api table
Change-Id: Ia98554c137a3ec6433d8234ba17ca4dc2f2be940


[ROCm/rocprofiler commit: df860838a2]
2019-03-06 13:41:54 -06:00
Jenkins 00876b1757 Merge 'master' into 'amd-master'
Change-Id: I6ae9012bf38869056f1e4b2d221f9957e8bbf5b2
2019-03-06 04:09:56 -06:00
Evgeny 89ff4ace93 introducing hsa api duplicating table
Change-Id: I4bbf933def018ad7b282fa08e587c53f5a44b336
2019-03-05 19:42:26 -06:00
Evgeny 2c8414e512 introducing hsa api duplicating table
Change-Id: I4bbf933def018ad7b282fa08e587c53f5a44b336


[ROCm/rocprofiler commit: 89ff4ace93]
2019-03-05 19:42:26 -06:00
Evgeny 5b266dc794 minor change
Change-Id: Ia4200a7e72c40c2796160c4773dd6530fa8e9d76
2019-03-05 09:09:23 -06:00
Evgeny ef8c1dd53b minor change
Change-Id: Ia4200a7e72c40c2796160c4773dd6530fa8e9d76


[ROCm/rocprofiler commit: 5b266dc794]
2019-03-05 09:09:23 -06:00
Chris Freehill a8e7d0cdee Merge pull request #25 from cfreehill/master
Add rsmi_dev_memory_total_get()and rsmi_dev_memory_usage_get()
2019-03-04 18:30:52 -06:00
Chris Freehill ddd292f1b5 Add rsmi_dev_memory_total_get()and rsmi_dev_memory_usage_get() 2019-03-04 18:26:11 -06:00
Chris Freehill 89fb40fbe5 Re-organize function documentation into sections 2019-03-03 23:11:50 -06:00
Evgeny 632309a626 adding context pool
Change-Id: Id8c6ee43ac6c86480848a5d3e759c42730cf388a
2019-03-03 01:18:42 -06:00
Evgeny 878e8e20b1 adding context pool
Change-Id: Id8c6ee43ac6c86480848a5d3e759c42730cf388a


[ROCm/rocprofiler commit: 632309a626]
2019-03-03 01:18:42 -06:00
Chris Freehill 5736da7172 Merge pull request #24 from cfreehill/master
Use "_t" suffix consistently for RSMI types
2019-03-02 16:39:53 -06:00
Chris Freehill bc0d801478 Use "_t" suffix consistently for RSMI types 2019-03-02 16:30:30 -06:00
Chris Freehill c1c6d5253b Merge pull request #23 from cfreehill/master
Added rsmi_dev_error_count_get()
2019-03-01 16:44:40 -06:00
Chris Freehill fb5f41fc10 Added rsmi_dev_error_count_get() 2019-03-01 16:33:11 -06:00
Jenkins 1f1bcfce07 Merge 'master' into 'amd-master'
Change-Id: Ib4c4ea47826f0d7c857c14308fc30bce3b81b1bf
2019-03-01 04:09:58 -06:00
Tom Stellard 006c2c248d Separate build version from library version
This patch separates the build version (i.e. ROCm version) from the
library version used to set the SONAME of the shared objects.  This
prevents the SONAME from getting bumped each time there is a new ROCm
release without any change to the libhsakmt ABI.

1.0.6 was choosen as the library version since this was the
last library version used prior to switching to the ROCm version
numbers.

Change-Id: I7c29ae84d8a362a831e804569d8147ca65155cad
2019-02-28 21:32:45 -08:00
Eric Huang e5b215570b kfdtest: fix and change in RAS test
1. RAS error injection debugfs interface has been changed which
is using ras_ctrl instead of *_err_inject.

2. Remove ASSERT_SUCCESS for fwrite, because fwrite returns
the size of written item but not the error number.

3. Using throw exception instead of return to avoid a segment fault.

Change-Id: I6c4d9c2f7e66719faec99abd1552105a08c238a4
Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>
2019-03-29 11:00:01 -04:00
Eric Huang d6cde5bf08 libhsakmt: update kfd_ioctl.h regarding RAS interface
It is aligned with RAS changes in KFD.

Change-Id: I52816da01a4001158a40a1207d1fbe6ec3271343
Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>
2019-03-28 21:38:44 -04:00
Sean Keely c7f1277013 Add hsaKmtRegisterMemoryWithFlags.
API follows hsaKmtRegisterMemory but allows passing HsaMemFlags.

Change-Id: I66a230a87c8b085f27c769bdf2cb4d0d96a5d6dd
2019-03-28 17:17:40 -04:00
Kent Russell 1304a92e17 libhsakmt: Add Vega M support
While this may not be supported in the runtime, the kernel/firmware
support it

Change-Id: I7fe4536a6b3055f39e25f453060e899938645d91
Signed-off-by: Kent Russell <kent.russell@amd.com>
2019-03-21 08:05:47 -04:00
Kent Russell c7439a0039 libhsakmt: Add another gfx902 GPU ID
Change-Id: I967f16bf548171df73d2e721f16c1aac52e99852
Signed-off-by: Kent Russell <kent.russell@amd.com>
2019-03-21 08:05:47 -04:00
Philip Yang 0bd9f35563 Revert "kfdtest.exclude: Temporarily blacklist IPC on gfx900"
This reverts commit d00ec779ce.

Fixes for HMM change corner cases are merged in from drm-next.
Tests are passed on gfx900 with the latest amd-kfd-staging.

Change-Id: I6c00d1eacf6b3f1ce715e085ae622b4e9ff1b7ff
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
2019-03-18 10:10:00 -04:00
Amber Lin cfa47ac1f9 libhsakmt: Fix missing apicid in topology
While adding x2APIC support, apicid for non-x2apic was missing out by
mistake.



Change-Id: I25eed362c035c0e9fb9ea948899c49f70311f269
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2019-03-11 13:05:37 -04:00
Oak Zeng 1046a1fd72 Introduce XGMI SDMA queue type
Change-Id: I8c6ff04f92c2bbea0bab94ddb8cc4cceb5d74d02
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2019-03-07 19:42:20 -05:00
Oak Zeng 414a3508d6 Thunk interface to get SDMA engine info
Add SDMA engine info fields to node properties and
modify get node properties API to read SDMA engine
info from sysfs

Change-Id: Iea877b5bc008cc9df9405daf564a359535f1bc9f
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2019-03-07 14:09:43 -05:00
Oak Zeng e4109de26d Use latest kfd_ioctl.h
A new SDMA queue type for XGMI was added

Change-Id: Iad065c1a7c053a58e0d86becfb374215e316a611
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2019-03-07 13:25:33 -05:00