Grafico dei commit

13496 Commit

Autore SHA1 Messaggio Data
Oak Zeng af5b320c47 Add test to allocate SDMA queue on specific engine
Change-Id: I5b5140e4119fc01db250d63cca7389cf80ec0d16
Signed-off-by: Oak Zeng <ozeng@amd.com>
2018-11-20 11:17:43 -05:00
Chris Freehill bc200d205e Add get and set routines for PCIe bandwidth 2018-11-19 17:01:49 -06:00
shaoyunl d8009b4fd3 KFDTest: fix failure when run KFDTest on multi-GPU small bar system
On small bar multi-gpu system, hsaKmtMemoryMapToGPU will fail due to latest
kernel P2P sanity check. Swith to use hsaKmtMemoryMapToGPUNodes to fix
the failure

Change-Id: Id8b6329d1243df0e908cc9a171b5c7f9156f4a8b
Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
2018-11-19 16:09:31 -05:00
shaoyunl 29b45b8c0a Thunk: make scratch memory only map to its own GPU
Map scratch memory to the GPU that specified when allocate the memory

Change-Id: I788f9ef0dccb63b894a75e75cac5f94a60d7ec48
Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
2018-11-19 10:26:31 -05:00
Sean Keely 8e4177382a Check max wave scratch limits.
HW has limited bits for wave scratch base address stride.  Enforcement
prevents programs with larger than supported scratch allocations from
running and clobbering neighboring scratch space.

Change-Id: I574da888e9d1d5e290a9c0025ba13b5ef9f1e5c0
2018-11-16 20:59:20 -05:00
Chris Freehill 9c897ab86d Add get and set routines for PCIe bandwidth 2018-11-16 15:55:38 -06:00
Sean Keely 269be0be2e Disable forced explicit selection of public vs internal HSA interfaces.
Temporary to reenable OCL builds on TC.

Change-Id: Ia81f2f9a9dd10ae8ce9627313247a586a8711584
2018-11-16 15:26:26 -06:00
Konstantin Zhuravlyov a447d79430 Fix dynamic relocations:
- Process dynamic relocation even if there is
    no symbol associated to it.

Change-Id: Iaefee682ee52f5acda8280e5764e6d5fd992774a
2018-11-14 15:25:41 -05:00
eshcherb b4113a1023 Update README.md
[ROCm/roctracer commit: 8e618d15b1]
2018-11-13 19:01:26 -06:00
eshcherb 8e618d15b1 Update README.md 2018-11-13 19:01:26 -06:00
eshcherb 7a17b66351 Update README.md
[ROCm/roctracer commit: 8a093089a0]
2018-11-13 18:52:33 -06:00
eshcherb 8a093089a0 Update README.md 2018-11-13 18:52:33 -06:00
eshcherb b15f765d17 Update README.md
[ROCm/roctracer commit: 036f7d48a1]
2018-11-13 18:51:56 -06:00
eshcherb 036f7d48a1 Update README.md 2018-11-13 18:51:56 -06:00
Evgeny df58b9a80d preloading local libmcwamp_hsa.so
[ROCm/roctracer commit: b7467b9995]
2018-11-13 18:44:44 -06:00
Evgeny b7467b9995 preloading local libmcwamp_hsa.so 2018-11-13 18:44:44 -06:00
Evgeny 3bfaddf6a4 packaging
[ROCm/roctracer commit: 48d69df3ee]
2018-11-13 17:09:58 -06:00
Evgeny 48d69df3ee packaging 2018-11-13 17:09:58 -06:00
Oak Zeng acb80d7583 Create SDMA queue on specific engine
Change-Id: Iece03795510d66b03324174203faa0ac9eb4fb7d
Signed-off-by: Oak Zeng <ozeng@amd.com>
2018-11-13 14:52:57 -05:00
Oak Zeng 8d65e72045 Move m_Type to a local variable
BaseQueue class has a member function GetQueueType so m_Type
is duplicated.  m_Type is only used in one function. Move it to
a local variable.

Change-Id: Ice144cf723178dd628cb49261c23d10605f9ee7d
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2018-11-13 14:52:17 -05:00
Oak Zeng 58b95e0a9d Create SDMA queue on specific engine
Change-Id: Id651ececda55b81b45e991bd8e6616674be48d8e
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2018-11-13 14:52:17 -05:00
Oak Zeng 5173e71810 Add more SDMA queue type
Those new types are used to create SDMA queue on specific engine

Change-Id: I91c3bcc14fef7404cf42b256a18651432e171091
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2018-11-13 14:52:01 -05:00
Oak Zeng 055f7c9c2c Use latest kfd_ioctl.h file
Change-Id: Icd7da4a305581c6857e17d59fbd0c3bd5101df3b
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2018-11-13 14:51:46 -05:00
Sean Keely 4e8597681b Cache KFD Events used by user allocated InterruptSignals.
Change-Id: I7f102f880fea9c78febe28cd262f93ee77f03184
2018-11-12 22:37:42 -06:00
Sean Keely 8323b2e1d7 Add pooling for Signal ABI blocks (SharedSignal).
Makes better use of memory and greatly reduces mmap count.

Change-Id: Ib444cd1ccd144986adbcc7cec297a966e2c08bc7
2018-11-12 22:37:28 -06:00
Chris Freehill 861c2c2e33 Add rsmi_dev_busy_percent_get()
Also: correct some comments, ifdef out unused code
2018-11-12 17:25:14 -06:00
Felix Kuehling 5e4e19d47b libhsakmt: Distinguish EPERM and EACCES
EPERM means "operation not permitted" and is returned when CGroup
access checks fail. EACCES means "permission denied" and is returned
when the device file permission bits or access control list don't
allow access.

EPERM can fail silently, since we assume the administrator disabled
a device on purpose in the CGroup. EACCESS should produce an error
message and an info message to check the device file permissions.

Change-Id: Iee4c5584c5fdc4e113c3d760dede6661097b4341
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2018-11-12 17:06:18 -05:00
Evgeny 722fa91624 pre/post package scripts install dir name fix and CPACK_PACKAGING_INSTALL_PREFIX
Change-Id: I415875572829dadc9996dd7561418a77ec3fe1bb
2018-11-12 12:39:03 -06:00
Evgeny b62929a0bf pre/post package scripts install dir name fix and CPACK_PACKAGING_INSTALL_PREFIX
Change-Id: I415875572829dadc9996dd7561418a77ec3fe1bb


[ROCm/rocprofiler commit: 722fa91624]
2018-11-12 12:39:03 -06:00
eshcherb c998318f2e Update README.md
[ROCm/roctracer commit: 3ddb17864f]
2018-11-12 11:26:10 -06:00
eshcherb 3ddb17864f Update README.md 2018-11-12 11:26:10 -06:00
Evgeny a4860cfb00 pre/post package scripts install dir name fix
[ROCm/roctracer commit: a52d7b36a9]
2018-11-12 10:16:38 -06:00
Evgeny a52d7b36a9 pre/post package scripts install dir name fix 2018-11-12 10:16:38 -06:00
eshcherb b5979a4cf4 Update README.md
[ROCm/roctracer commit: 48db2cddc3]
2018-11-12 00:19:31 -06:00
eshcherb 48db2cddc3 Update README.md 2018-11-12 00:19:31 -06:00
Evgeny e1f1d611de activity id fix
[ROCm/roctracer commit: 270613e3a6]
2018-11-11 23:33:36 -06:00
Evgeny 270613e3a6 activity id fix 2018-11-11 23:33:36 -06:00
eshcherb 8b2082da7f Update README.md
[ROCm/roctracer commit: 1bceac618b]
2018-11-11 18:40:07 -06:00
eshcherb 1bceac618b Update README.md 2018-11-11 18:40:07 -06:00
Evgeny b28c3cf091 cmake packaging fix
[ROCm/roctracer commit: 44986fcbda]
2018-11-11 00:53:10 -06:00
Evgeny 44986fcbda cmake packaging fix 2018-11-11 00:53:10 -06:00
Evgeny c0c0407917 package generators deb/rpm/tgz
[ROCm/roctracer commit: 6b3719051f]
2018-11-10 21:33:34 -06:00
Evgeny 6b3719051f package generators deb/rpm/tgz 2018-11-10 21:33:34 -06:00
Evgeny baf2f25bac packages deb/rpm/tgz
Change-Id: I1de06a8ad19a5c44baf45a76fa34db570899c72d
2018-11-10 21:28:51 -06:00
Evgeny 54192625eb packages deb/rpm/tgz
Change-Id: I1de06a8ad19a5c44baf45a76fa34db570899c72d


[ROCm/rocprofiler commit: baf2f25bac]
2018-11-10 21:28:51 -06:00
Evgeny 39bd7ee6af removing HCC_PATH
[ROCm/roctracer commit: d4f03f0244]
2018-11-09 23:56:28 -06:00
Evgeny d4f03f0244 removing HCC_PATH 2018-11-09 23:56:28 -06:00
Sean Keely 936ecd1885 Remove legacy SVM region concept.
Also rename blit_agent to region_gpu and add comments to clarify
its role in deprecated region API support rather than to do blits.

Change-Id: I80b1043db2e1c5d40a58fc801eef70a688ea9169
2018-11-09 06:27:53 -06:00
Sean Keely dda9c17b45 Move VM fault handler init to after all devices are registered.
During registration we must not call any function that depends on registered
data as the lists are not yet complete.  This includes signal allocation since
allocating shared GPU mapped memory depends on the list of GPUs.

Change-Id: I94d59e847802c546c2a5a0d9f55fe5ac3fd1d878
2018-11-09 03:10:08 -06:00
Evgeny bca6202b73 hip_prof_(api/str).h moving under hcc_detail dir
[ROCm/roctracer commit: 06e268fbc1]
2018-11-08 05:01:01 -06:00