Gráfico de Commits

13501 Commits

Autor SHA1 Mensagem Data
rkebichi cbb832cf23 Update gen_ostream_ops.py
New version of script generates all expected fields for KFD API. I checked all structs and made sure nested structs and unions, named or anonymous are handled properly.

[ROCm/roctracer commit: 5ef1033260]
2019-11-07 16:06:21 -05:00
rkebichi 5ef1033260 Update gen_ostream_ops.py
New version of script generates all expected fields for KFD API. I checked all structs and made sure nested structs and unions, named or anonymous are handled properly.
2019-11-07 16:06:21 -05:00
Chris Freehill 4ebb436893 Merge "Docs., error checking and test improvements" into amd-master 2019-11-06 20:15:26 -05:00
Philip Yang 2fa7d23a82 kfdtest: use flag NoNUMABind for more test cases
If NUMA system no available memory on node 0, mbind will fail on node
0, so set flag NoNUMABind=1 to bypass mbind for all test cases which use
node 0 and allocate system memory.

Change-Id: I7962938ad2bed5a293ca5e6a8500c7f7e15ff453
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
2019-11-06 18:33:46 -05:00
Philip Yang 59c857476f libhsakmt: use the closest NUMA node to allocate queue ctx area
On NUMA system, allocate queue ctx save restore area on the closest NUMA
node to the GPU which the queue is going to run. This will improve
performance on NUMA system generally by reducing schedule latency and
fix the multi-node rccl-tests unstable performance issue.

If the closest NUMA node has no memory available, set flags NoNUMABind=1
to bypass mbind, to use default NUMA memory policy to allocate system
memory.



Change-Id: Ic62bfa5bb2efbf4f6ae79ff403e9610ddf18d45c
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
2019-11-06 17:33:26 -05:00
Ramesh Errabolu 086b4b686c Fix Aql Header initialization
Change-Id: If23c12b28d22fb62b673038890f40bb0f3c3948b
2019-11-06 16:13:58 -05:00
Wen-Heng (Jack) Chung 0510b2c23b Revise the return type of roctracer_next_record to roctracer_status_t.
[ROCm/roctracer commit: f730fb6a4e]
2019-11-06 10:54:45 -06:00
Wen-Heng (Jack) Chung f730fb6a4e Revise the return type of roctracer_next_record to roctracer_status_t. 2019-11-06 10:54:45 -06:00
Chris Freehill 0e5c44de2a Use "-" instead of "_" for package name
This is part of fix to SWDEV-208805. The other part will
be in the build_* script.

Change-Id: I36397e3f918d08170db8bb228722a2b7389af83b
2019-11-06 11:31:50 -05:00
Chris Freehill 52dfa4bcca Docs., error checking and test improvements
* Update doc. on api-support function
* Check for valid integer value when reading a monitor int. val.
* If fan-write test attempts to set speed higher than max.
   possible, then skip the test

Change-Id: I01ad0ab1f4caffdb0d2c26e9575f278c35a6b017
2019-11-06 11:19:47 -05:00
Evgeny f6f685f8d4 hip-vdi sync activity callback fix
[ROCm/roctracer commit: 6a442864a3]
2019-11-06 09:11:11 -06:00
Evgeny 6a442864a3 hip-vdi sync activity callback fix 2019-11-06 09:11:11 -06:00
Ori Messinger e7f45fae8a Add non-priv PMC blocks to GFX10
This patch adds the non-privileged PMC blocks for GFX10/gfx1010.

Change-Id: I4b98cb2159d71113c12920ca7fd10e45096b4e2c
Signed-off-by: Ori Messinger <Ori.Messinger@amd.com>
2019-11-05 13:07:13 -05:00
Evgeny d8560ae0b3 enable rocprofiler kernels trace; fixing signal value for proxy signal; fixing scope options in input txt format;
Change-Id: Ife63c4091e565a2158e292c7acf9718085c709be
2019-11-01 20:44:02 -05:00
Evgeny 7ac1e3dcd9 enable rocprofiler kernels trace; fixing signal value for proxy signal; fixing scope options in input txt format;
Change-Id: Ife63c4091e565a2158e292c7acf9718085c709be


[ROCm/rocprofiler commit: d8560ae0b3]
2019-11-01 20:44:02 -05:00
Felix Kuehling 07b8c30ce8 kfdtest: Return address of packet from IndirectBuffer::AddPacket
This can be used for allocating space in the IB for write-back data
in a NOP-packet with a payload.

Change-Id: I6202b89a455a65326366a15291789004dfdcc0b9
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2019-11-01 18:31:28 -04:00
Felix Kuehling 664bb13bc4 kfdtest: Add PM4 NOP packet payload capability
Useful for allocating space for write-back data in a queue or IB.

Change-Id: I47bd2dcb8537a91410e9a91413979a8a2c1c5f21
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2019-11-01 18:30:52 -04:00
Felix Kuehling ea7619c929 kfdtest: Re-factor dynamic packet allocation into BasePacket
Avoids unnecessary and error-prone duplication of dynamic packet
allocation in many packet classes.

Change-Id: Icec981ae2cd7a3d88cdf9213298940d85627f853
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2019-11-01 18:30:52 -04:00
Felix Kuehling 12e4ea94f1 kfdtest: Fix SDMA NOP packet size
packetSize is used as the size in bytes.

Change-Id: I900f9a4f37b840cbb957184705db04a4c64d1654
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2019-11-01 18:30:52 -04:00
Oak Zeng fa0cb9ebeb Handle IOCTL failure in fmm_release
FREE_MEMORY_OF_GPU ioctl could fail, e.g., if memory is still mapped
to GPU. Handle this failure by return error in fmm_release/HsaKmtFreeMemory

Change-Id: I5461db39964f733cf97376d50e44906a9b4c0f13
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2019-11-01 08:59:05 -04:00
Oak Zeng 7593b41575 Unmap memory from GPU before free
Change-Id: Ic33b17cbaee5de7908d37527254f4f146e6b71e3
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2019-11-01 08:58:55 -04:00
rkebichi 61cae71bd9 Update Makefile
[ROCm/roctracer commit: 79dc82177c]
2019-10-31 11:13:49 -04:00
rkebichi 79dc82177c Update Makefile 2019-10-31 11:13:49 -04:00
rkebichi 1c5b10014d Update MatrixTranspose.cpp
[ROCm/roctracer commit: c17a5acb06]
2019-10-31 10:51:53 -04:00
rkebichi c17a5acb06 Update MatrixTranspose.cpp 2019-10-31 10:51:53 -04:00
rkebichi dda6c9e5a6 Update roctracer_kfd.h
[ROCm/roctracer commit: 1a62e18593]
2019-10-31 10:48:42 -04:00
rkebichi 1a62e18593 Update roctracer_kfd.h 2019-10-31 10:48:42 -04:00
Qingchuan Shi 16a20cfb8c Adding code object list in loader.
Change-Id: Iab3541287bd56276fd32615ee59fcd590de84ca0
2019-10-30 20:31:51 -04:00
rkebichi 78dc260dca Update roctracer_kfd.h
[ROCm/roctracer commit: 0aa6df2b52]
2019-10-30 17:26:57 -04:00
rkebichi 0aa6df2b52 Update roctracer_kfd.h 2019-10-30 17:26:57 -04:00
rkebichi 0558186232 Update CMakeLists.txt
[ROCm/roctracer commit: 3a8ae2fff4]
2019-10-30 17:21:20 -04:00
rkebichi 3a8ae2fff4 Update CMakeLists.txt 2019-10-30 17:21:20 -04:00
rkebichi d564b67b1c Update Makefile
[ROCm/roctracer commit: becaf5d074]
2019-10-30 17:18:18 -04:00
rkebichi becaf5d074 Update Makefile 2019-10-30 17:18:18 -04:00
rkebichi 892ddf3e98 Update roctracer_kfd.h
[ROCm/roctracer commit: b9e7638ef9]
2019-10-30 17:16:54 -04:00
rkebichi b9e7638ef9 Update roctracer_kfd.h 2019-10-30 17:16:54 -04:00
rkebichi a590a5b145 Update gen_ostream_ops.py
[ROCm/roctracer commit: 34fbe19977]
2019-10-30 17:01:39 -04:00
rkebichi 34fbe19977 Update gen_ostream_ops.py 2019-10-30 17:01:39 -04:00
Jay Cornwall 78e754935c Merge debugger trap handler into ROCr trap handler
Debugger path is taken for (trap_id >= 3) and single step exceptions.
Other traps/exceptions behave as before.

Change-Id: I276c0eb69953709968353a57717ee017d22348a2
2019-10-30 13:56:06 -04:00
Sean Keely 851ee799c4 Correct strip command.
Strip should only apply to the output target library.  Symlinks
with .so endings which will be relocated during install will cause
strip to fail, aborting the build.

Change-Id: Ieb598c2cec5277d9d14c8afa88b91ca2c7f4412d
2019-10-30 01:24:43 -05:00
Sean Keely 6c3acda664 Adapt to new versioning.
Using branch point for count since last change since we don't
have questions answered on tags yet.

Removed unused CMake files.
Restructured CMake to use the cache rather than only commandline
and be ccmake & cmake-gui friendly.
Dependency search paths are added for the Repo tree layout.

Search paths still needed for install paths.

Simplified packaging.  hsa-ext-rocr-dev package and contents now
build from the package CMake rather than being 3 separate projects.

Not applying new version number or new install paths!

Change-Id: Ibea50dc8a6ab091e91857f78833f5379a4511547
2019-10-29 04:21:17 -05:00
Evgeny d4ddee69d4 update
[ROCm/roctracer commit: 086a8f4aa6]
2019-10-25 20:10:44 -05:00
Evgeny 086a8f4aa6 update 2019-10-25 20:10:44 -05:00
Evgeny f974164bb4 fix loader to have strict ldopen
[ROCm/roctracer commit: d2db29cd7d]
2019-10-25 19:39:04 -05:00
Evgeny d2db29cd7d fix loader to have strict ldopen 2019-10-25 19:39:04 -05:00
Evgeny 07f81abe3b disable kfd wrapper installation
[ROCm/roctracer commit: 8941ca3acd]
2019-10-25 19:21:24 -05:00
Evgeny 8941ca3acd disable kfd wrapper installation 2019-10-25 19:21:24 -05:00
Evgeny f4a0cb7a69 enabling rocprofiler kernels trace
[ROCm/roctracer commit: 2303c1e398]
2019-10-25 17:46:34 -05:00
Evgeny 2303c1e398 enabling rocprofiler kernels trace 2019-10-25 17:46:34 -05:00
Jeremy Newton cb4d4107ed libhsakmt: default packaging prefix to install
If CPACK_PACKAGING_INSTALL_PREFIX is not set, it's safer to assume it's the
same as CMAKE_INSTALL_PREFIX, incase only the latter is set.

Change-Id: I70727ebbc50f21f8d6e3add10d7f9f2d5e747dee
Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
2019-10-25 15:40:03 -04:00