Commit Graph

409 Commits

Author SHA1 Message Date
Evgeny f53ee46725 VERSION_MINOR macro typo fix
aqlprofile info ENABLE_CMD enum adding;

Change-Id: I7b19082144d2bd0bf7af7ddc282358168b225759


[ROCm/ROCR-Runtime commit: 81532bb6f5]
2018-09-17 20:49:47 -04:00
Sean Keely 01b35916c7 Check fill addresses for alignment.
Check was documented but missing.

Change-Id: I97951635d794fd22e20c25d20e9d0e35035254af


[ROCm/ROCR-Runtime commit: 3357cadeec]
2018-09-05 16:34:19 -04:00
Sean Keely a550bf2687 Remove redundant initialization.
LinkInfo is already initialized to zero in its default constructor.

Change-Id: Ifa4fb886cce9b474c6879c9c82744044ab394082


[ROCm/ROCR-Runtime commit: 2843988dd7]
2018-08-29 19:36:07 -04:00
Sean Keely 0af87e4a02 Refactor blocking sdma commands.
Remove fence pool and use two signals.  Two signals allows overlapped
submission and copy while reducing thread busy polling.

Change-Id: Idb5f8e4c7f482a596ffce9e7799191fdd785a216


[ROCm/ROCR-Runtime commit: 56ed5c8904]
2018-08-29 19:13:23 -04:00
Sean Keely 61b53915d7 Implement SDMA copy rect for gfx9.
Fix pitch overflow due to small element detection.
Add wide pitch 2D copy handling.
Cleanup code duplication.

Change-Id: I93b1584aba8e5964957eb7ab3544df806ca3e2f9


[ROCm/ROCR-Runtime commit: e0839ab27e]
2018-08-29 19:13:07 -04:00
Sean Keely 94f2f17cb0 Add debug checking of time stamps validity.
Can only check that the signal has some time stamp, can't check if
the translating agent matches the last used agent or not.

Change-Id: I62943a864318808059c617280bb65a269dfadd1b


[ROCm/ROCR-Runtime commit: aca00b7238]
2018-08-26 12:36:35 -04:00
Sean Keely fe44e57a6c Expose ROCr build ID.
Adds HSA_AMD_SYSTEM_INFO_BUILD_VERSION=0x200 to hsa_system_info_t.
This returns a const char* pointing at the build string (git describe).

Change-Id: I73e6612482bf6ffc4037fd365808eb9211a650ad


[ROCm/ROCR-Runtime commit: cd8e5c1da8]
2018-08-20 20:44:32 -05:00
Chris Freehill 2a1b236843 Use 64 suffix for rocm_smi lib name
Change-Id: Idab0f5576f830657afb6bf26e1d88b18244431cb


[ROCm/ROCR-Runtime commit: c1fbd8aa54]
2018-08-20 08:05:31 -05:00
Sean Keely 896a035951 Experimental flag to swap copy agent for async copy APIs.
Adds env flag HSA_REV_COPY_DIR.  If set to 1 async copy will
copy from dst device to src device rather than from src to dst.

Change-Id: I3095642066fa026dc112c2eac06db9393341cd7e


[ROCm/ROCR-Runtime commit: 6c47780620]
2018-08-09 10:58:14 -04:00
Jay Cornwall 795fd231b0 Extend SDMA disable list until firmware stability resolved
Change-Id: I5e21cb761ae970ba2b68edd97b1564b36ca1f0f4


[ROCm/ROCR-Runtime commit: 5e1ccdc4a9]
2018-08-08 11:20:14 -05:00
James Edwards 9a71f7634e Add tools headers and library back to packaging.
Change-Id: If6c9befe50fc111eb154bd5b4eb5c7858f5d510b


[ROCm/ROCR-Runtime commit: 4d7d50feba]
2018-07-16 16:51:12 -04:00
Sean Keely 9751587239 Do not initialize runtime internal queues based on mapping memory to a GPU.
Conserves VMIDs when multiple processes are in use and memory operations
are not GPU specific.  For instance HIP API hipHostMalloc does not accept
a target GPU so when used with one process per GPU (ie GPU == MPI rank) we can
quickly exceed the available VMID slots if every process consumes a VMID on
every GPU.

Change-Id: Ib6fa051290089f71581029c09f9a44b9992237d1


[ROCm/ROCR-Runtime commit: 35a270ef7e]
2018-07-13 19:58:45 -04:00
Chris Freehill 6a51ad6aff Use the new name of the rocm_smi library
Change-Id: I7358b7b819826f1d3d3b0ca99fc5fd1a4e6d9536


[ROCm/ROCR-Runtime commit: 65c3cf27f5]
2018-07-13 11:46:49 -04:00
Chris Freehill 183d68a407 Fix NUMA async copy test
Change-Id: I64b5bd1ac5bf9b58d86c3dfc170bcf06a39abee4


[ROCm/ROCR-Runtime commit: 3cca09ccca]
2018-07-11 19:20:13 -04:00
Sean Keely f902a37ae3 Fix git describe command to retrieve version tags correctly.
Change-Id: I904f5ccdb88c1e28d5eeffd104174fcd57626ee7


[ROCm/ROCR-Runtime commit: c6cf161125]
2018-07-10 20:19:04 -05:00
Chris Freehill 3dca2b343f Undo temporary work-around for RSMI change
Change-Id: I9bf144add951c95e4eebc8647bffb71d13f4f612


[ROCm/ROCR-Runtime commit: 06759fed5f]
2018-07-09 08:46:57 -05:00
Chris Freehill fcfa57e7da Temporary work-around for RSMI change
Change-Id: If4913d5d0cdb0415569c75ab312c39b4253cd4fa


[ROCm/ROCR-Runtime commit: ae0c852074]
2018-07-07 22:57:42 -05:00
Wilkin 8c6a5522b5 OpenCL BLIT for Image library
- include support for gfx702

Change-Id: If681a4eef9bd076e25300e1c1bca55b4f7c92b46


[ROCm/ROCR-Runtime commit: 170e2a142f]
2018-07-06 10:35:44 -04:00
James Edwards e9a3a96672 Change packaging for rocr-dev and rocr-ext.
Change-Id: Ia096a2d31ddd7bef2e05bb3d6c58e94d8c339598


[ROCm/ROCR-Runtime commit: 58a411dd36]
2018-07-02 13:40:45 -05:00
Jay Cornwall 8bd488dfb9 Add hsa_amd_queue_set_priority extension function
Controls dispatch and wavefront scheduling arbitration across quees.

Change-Id: I498f4898b544f79b8fb8514bf7e789ca9da29462


[ROCm/ROCR-Runtime commit: e388a23344]
2018-06-19 19:41:28 -05:00
rohit pathania d7602a31fc Kernel group memory dynamic allocation, basic allocation and free test
Change-Id: I17fdb77f17567ac1b429d9a571cac70ac1e64dd4


[ROCm/ROCR-Runtime commit: 6df6ef778d]
2018-06-15 10:49:10 +05:30
Sean Keely 649bd31cf5 Enable SDMA use without platform atomic support.
SDMA will use atomic completion fences if KFD reports 64bit atomic support.
Otherwise it will fall back to store completion fences.

Change-Id: I12b76f8a74ec3ee96372c250f9824d846051536e


[ROCm/ROCR-Runtime commit: 3e3aa37750]
2018-06-12 15:38:44 -04:00
rohit pathania 189bd446b5 Modified memory atomics on non Large bar system and pool info test memcmp issue fix
Change-Id: I951fdb6c91508f43b1c51f7eb92870543fc58e53


[ROCm/ROCR-Runtime commit: d8e47ba115]
2018-06-11 18:49:29 +05:30
Chris Freehill bb280f26f8 More emulator friendly tests/examples
Change-Id: I27ab26add14743dfb065238129c14b48913d9df8


[ROCm/ROCR-Runtime commit: 12a81ae96f]
2018-06-08 17:58:37 -04:00
Chris Freehill a2e031949f Disable Signal tests
They are breaking Jenkins builds.

Change-Id: I1647049abee0ebc2a4751e66d9ceed56cadc4c3e


[ROCm/ROCR-Runtime commit: 8a6f0d6b24]
2018-06-08 15:47:09 -04:00
rohit pathania 1f1f69831e Build failure issue in rocmaster 8386
Change-Id: I413abe0c9fbe16ab2e722cf3f7567aa2853e585b


[ROCm/ROCR-Runtime commit: c2ddd11979]
2018-06-07 13:05:39 +05:30
srinivas Charupally c6b1838f36 Adding Signal Kernel tests
Change-Id: Ie34de41741a7c4731a0ff3761e940971b6f08745


[ROCm/ROCR-Runtime commit: f0a1b310fd]
2018-06-06 16:25:18 +05:30
Felix Kuehling c5c5622c4b Prepare for hsakmt build system cleanup
These fixes are needed to find the hsakmt headers and libraries with
an upcoming hsakmt build system cleanup. It should continue to work
with the original hsakmt build system.

Change-Id: I6b3fcea8f2588698c130c9ec50952c66712afa6c
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>


[ROCm/ROCR-Runtime commit: 5f25d024a8]
2018-06-05 16:01:03 -04:00
rohit pathania 1e991128f5 Concurrent testing for queue write index
Change-Id: If5b60b943a861d8f97d01b7fd8f757fdb36845c6


[ROCm/ROCR-Runtime commit: d0f6da277d]
2018-06-05 11:57:38 +05:30
Chris Freehill 01433053cd Make emulator friendly
Disable some tests that rely on features not typically available
in emulator and use smaller data and iteration sets

Change-Id: I587bf83162b114719e0361109ed44c6bf2adf34c


[ROCm/ROCR-Runtime commit: 2c8cbf61c3]
2018-06-04 18:51:09 -05:00
Chris Freehill 8b6b062957 Disable Aql_Barrier_* tests
Change-Id: Ibe08b88c101a60e4c6f0c61cda756e2cb5857d7d


[ROCm/ROCR-Runtime commit: 845a539478]
2018-06-04 11:46:08 -04:00
srinivas Charupally 15a708e717 Adding Aql tests
Change-Id: Id22dcafbf0ea0b346f3a03d4acef27350b706f36


[ROCm/ROCR-Runtime commit: a632bfddb2]
2018-05-31 15:29:37 +05:30
srinivas Charupally 87a76fb0ec Adding Signal tests
Change-Id: I1815267a0e19614a84013e797bd3df3e77ee8179


[ROCm/ROCR-Runtime commit: 2c551d38b6]
2018-05-30 01:40:31 -04:00
Sean Keely 2a9f433d26 Move SDMA dependencies back to hardware.
SDMA poll packet preemption has been fixed.

Change-Id: I3da878c433d4594a169e3bc8f173d3651448fd2d


[ROCm/ROCR-Runtime commit: f09eb2e8c7]
2018-05-29 23:32:47 -04:00
Sean Keely 897666b665 Enable SDMA conditionally based on link atomic suport.
Avoids using non-atomic SDMA fences by default since that path can duplicate fences.
If HSA_ENABLE_SDMA is set this will override copy path selection and may use
non-atomic fences.

Change-Id: I4747e9a766f7f649d21ddf6bfded047ac26fd60e


[ROCm/ROCR-Runtime commit: c593dfc6bf]
2018-05-29 23:32:34 -04:00
rohit pathania a9638cd006 Different Atomic operation tests on GPU and system memory
Change-Id: I04154b588086d49142a64c8fe4826d041ded2991


[ROCm/ROCR-Runtime commit: 044fb8dc27]
2018-05-28 22:18:48 +05:30
rohit pathania d77f587d15 Queue validation tests and memory alignment tests
Change-Id: I96d8c2898795240288517bdcbc2b48ff2cc04f66


[ROCm/ROCR-Runtime commit: 08a253684b]
2018-05-28 14:26:05 +05:30
srinivas Charupally c35946cb79 Adding concurrent shutdown, reference count and max reference count tests
Change-Id: Ib6f40585bf1ab2b1d6f33bbb1675e13545a23a4e


[ROCm/ROCR-Runtime commit: 2c1919c681]
2018-05-28 00:51:05 -04:00
Qingchuan Shi 91b3e8d552 Add debug trap rocrtst.
Change-Id: I73682d7a2ad51eed9988075e012478a1afc76c7c


[ROCm/ROCR-Runtime commit: 3a46556dcc]
2018-05-22 13:31:45 -04:00
rohit pathania 32ffaeb7d1 Memory Concurrent tests for pool Memory allocate, Memory free and get pool info
Change-Id: I6a1343348e400fe466e041d651adaa67be561a21


[ROCm/ROCR-Runtime commit: 47af1d673e]
2018-05-14 01:30:54 -04:00
Jay Cornwall 3dc3806ab2 Handle llvm.trap only in gfx9 trap handler
llvm.debugtrap and other trap IDs are reserved and should not place
the queue into an error state.

Change-Id: I98193a35ac7da94c4a42ee75d87754ee552ebea0


[ROCm/ROCR-Runtime commit: 536823482b]
2018-05-04 13:15:23 -05:00
Evgeny dd69a5edb6 Tool load failure report changing to unconditional print bcos it's already is controlled with the env var
Change-Id: I91b400ba94575a32005e825e6b41bda05c55b357


[ROCm/ROCR-Runtime commit: 0e0be791ec]
2018-05-03 22:31:17 -05:00
Sean Keely dec51d2db4 Relax large scratch cutoff.
Optimize for few queues rather than max.

Change-Id: I6531427319d3b2109b70d98fdb51daee7ffe4403


[ROCm/ROCR-Runtime commit: a20cceb425]
2018-04-30 07:25:22 -04:00
Sean Keely 57cbf865ce Enable large scratch on GFX8.
Ensure system release fence is set on GFX8 large scratch using packets.

Change-Id: I13cfdcd35969482ea6e95e0b352f5cb3a0454b86


[ROCm/ROCR-Runtime commit: 5f25619bb7]
2018-04-30 07:24:53 -04:00
Evgeny e3f55212ed aqlprofile: get version API
Change-Id: I3a85c088bfff3f54d8829e17cdafd7dfcdfb0c1d


[ROCm/ROCR-Runtime commit: 0fcd2fa56e]
2018-04-27 23:11:16 -04:00
Chris Freehill 43a9e81e4a Added rocm-smi-lib calls with updated interface
Change-Id: I62b59dca5135ec012f11b249c78b04e5e8e2dd9a


[ROCm/ROCR-Runtime commit: 11e13704ea]
2018-04-27 18:36:54 -04:00
Evgeny cbc3c97252 aqlprofile: read API
Change-Id: I896b1fbf1c19608197ac0a99b9d467d8c1bee775


[ROCm/ROCR-Runtime commit: b37027e347]
2018-04-27 11:00:08 -05:00
Sean Keely 950dd4d89c Workaround SDMA poll packet preemption.
Use async. signal handler to satisfy dependencies for SDMA blits.

Change-Id: Ifa8d3ee6810509f400a568ca2387ac6ab3ab7c36


[ROCm/ROCR-Runtime commit: 7cd6e366ed]
2018-04-26 02:00:33 -05:00
srinivas Charupally ee40fbd721 Adding concurrent init and init shutdown tests
Change-Id: Ifdbda16ae6c93a86373557f26eb414e40775d343


[ROCm/ROCR-Runtime commit: 8c8cd2dbd0]
2018-04-24 11:56:50 +05:30
rohit pathania 3cf867da15 Memory Allocation Negative tests
Change-Id: Icdd355f2351968dd76a3bc466636e223573cfb16


[ROCm/ROCR-Runtime commit: b1b036acb8]
2018-04-23 01:49:43 -04:00