Commit Graph

95 Commits

Author SHA1 Message Date
Matt Arsenault 15e5e6364d Use -nogpulib in another place
Change-Id: I9cc1daa7db7d1f2ff07a0dbfb403dbf41f4bbffb


[ROCm/ROCR-Runtime commit: 2e73d52ac6]
2020-04-28 13:46:01 -04:00
Matt Arsenault 70c54eba7a Use -nogpulib as a quick build fix
Change-Id: I28ca7d53c76f0829719079dfb67b6314f5ff27cc


[ROCm/ROCR-Runtime commit: 0d84b66b1e]
2020-04-28 10:08:37 -04:00
Sean Keely 71f3dbe6eb Correct capture of PoolInfo::allocable_size_.
Change-Id: I80757bb36048bc15b928220aca0a1eb5d898ab22


[ROCm/ROCR-Runtime commit: b90bf473c1]
2020-04-21 19:03:24 -05:00
Sean Keely 358c091a13 Remove references to finalizer header.
Change-Id: I6608c95268ab4bc66053d889cf7d5a30cd8fccab


[ROCm/ROCR-Runtime commit: e25ae1263b]
2020-04-17 23:50:23 -04:00
Sean Keely c354858217 Correct rocrtst numa awareness.
Pool size was being used where alloc_max_size should be.
Changes are necessary on NUMA systems where not all nodes have
installed memory.

Change-Id: If8f507cae50a8dfeae8572d4e39df757abe28599


[ROCm/ROCR-Runtime commit: a9470e3563]
2020-04-17 23:43:38 -04:00
Ramesh Errabolu 9ebd4f7163 Extend RocrTst to query UUID of ROCm devices
Change-Id: I6c9fa9751c893ba119e8b7a2808a8ab2aebeba3b


[ROCm/ROCR-Runtime commit: 7434fa14d4]
2020-04-16 21:29:32 -04:00
Chris Freehill cdda497901 By default, don't collect rsmi monitor values
Change-Id: I4946efadcb9c5ececead1b4c40b73adc5ceca957


[ROCm/ROCR-Runtime commit: f5e86a8f14]
2020-02-14 18:06:19 -05:00
Konstantin Zhuravlyov 1c4e072260 Switch to llvm monorepo
Change-Id: Ibfe045afd811d36521486573168aecd06279ccb6


[ROCm/ROCR-Runtime commit: 096e715629]
2019-12-17 22:55:20 -05:00
Chris Freehill ce2b8ab35c Import PAL version of addrlib with initial gfx1xxx support
Change-Id: I439930a5cbf5b13a359ec164e75c6828af8c668d


[ROCm/ROCR-Runtime commit: 4c22962024]
2019-12-12 21:38:01 -06:00
Sean Keely 7af8b533c2 Correct clang paths for incremental builds.
We should be using bin/clang, not the build/lightining/bin/clang since
build/ is the project's internal build directory.  This patch corrects
this where possible.

However, lightning does not install all it's end user files under out/
so some headers can not be found anywhere in out/ in an incremental build.
This header (opencl-c.h) if fetched out of the lightning source tree if
necessary.

Change-Id: I083d8b27bb39dd615fba3bb0711a789318f95e77


[ROCm/ROCR-Runtime commit: f62017f4a5]
2019-11-16 03:10:28 -06:00
Ramesh Errabolu 1798d1386b Fix Aql Header initialization
Change-Id: If23c12b28d22fb62b673038890f40bb0f3c3948b


[ROCm/ROCR-Runtime commit: 086b4b686c]
2019-11-06 16:13:58 -05:00
Chris Freehill 6687f73732 Add some gfx1xxx targets
This is to fix 

Change-Id: I69a87884d8174733905e4c007cf0f19b5103482a


[ROCm/ROCR-Runtime commit: 53228ad819]
2019-10-16 09:01:22 -04:00
Sean Keely 5e5b7fac71 Correct ROCr library path in rocrtst.
Change-Id: I3624f37e256a0b61f55b1eb1ae48dabd87481b5f


[ROCm/ROCR-Runtime commit: 324e0e5e0a]
2019-08-23 19:29:30 -04:00
Ramesh Errabolu 61b9d4e8b2 Update memory allocation guide in using pool apis
This is to allow allocations in system memory that exceed sizes
reported by a CPU device

Change-Id: I3d10d192aafcefbe4107f69b7c5e30bf7f836619


[ROCm/ROCR-Runtime commit: 3201f68f72]
2019-08-23 14:55:40 -04:00
Ramesh Errabolu 568620e42e Handle thread creation error correctly
Change-Id: Iaa8811e245aa20ac107aef104847df3e455518f1


[ROCm/ROCR-Runtime commit: 4a0d50f415]
2019-08-05 15:39:54 -04:00
Chris Freehill 123dea7733 Add ISAREG entry for gfx908 for ECC not supported
* Also, re-enable rocrtst

Change-Id: I70106c5a1788818387e46f240d577cbe59bc89f4


[ROCm/ROCR-Runtime commit: 2c15bcac9d]
2019-07-22 21:50:09 -04:00
Sean Keely 3959e99131 Add deallocation callback test to rocrtst.
Change-Id: Ia20abd8f1f64213eea0c3c1c771cc229cf38fd5d


[ROCm/ROCR-Runtime commit: 4fafdcb00c]
2019-07-19 14:17:21 -04:00
Chris Freehill 290dfd785f Make build_rocrtst.sh build all target kernels by default
This will allow the default target list to be branch
specific.

Change-Id: If8ecc14e2b7fb5ed2eb25ab447480308d539b248


[ROCm/ROCR-Runtime commit: d699039284]
2019-07-05 19:30:07 -04:00
Chris Freehill 970cca3731 Temporarily disable Debug test
Change-Id: Iabb238fcd78b9c2eb0c085b19ab93b8c9e538140


[ROCm/ROCR-Runtime commit: 8caa6c0b01]
2019-06-29 04:55:35 -04:00
Chris Freehill 9d70b6a420 rocrtst fixes for hsa_signal cleanup and aql packet dispatch
In several places aql packets were written to queue all at once
instead of doing the header atomically. These cases have been
fixed.

There were a few hsa_signal leaked that have been addressed.

There was some duplication of code that has been addressed.

Addresses ROCMOPS-456

Change-Id: Ia1869bc370f92e49ac560301df47741d5f76978e


[ROCm/ROCR-Runtime commit: 081a2cc875]
2019-06-21 17:34:10 -05:00
Sean Keely 904723af7c Fix IPC related hangs/faults in rocrtst.
IPC was failing due to calling fork when HSA was open.  The fix
was correcting incomplete cleanup in several other tests.

TestBase::Close (via CommonCleanUp) now checks that HSA is properly
closed between tests.

rocrtstPerf.Memory_Async_Copy uses hwloc which uses OpenCL which
has no shutdown routine.  Consequently this test can not cleanup
properly.  I added a hack to force HSA refcount to the value
it should have if OpenCL were cleaning up but this leaks resources
and potentially puts hwloc & OpenCL in a bad state.

OpenCL loads LLVM which installs some exit handlers.  Those handlers
can't execute in a child process and can't be removed since OpenCL
doesn't cleanup.  IPC hacks around this by aborting rather than exiting
in the child process.

Change-Id: I92326a73d7b11632208717d99728e6dafdc7d3ca


[ROCm/ROCR-Runtime commit: bb980462e7]
2019-06-19 01:03:52 -04:00
Chris Freehill 74eb2440c3 Temporarily disable some failing tests
Change-Id: Iee713bb963db812c36ce2568aee2a4f8409c52e5


[ROCm/ROCR-Runtime commit: 259a1bac18]
2019-06-14 08:36:11 -05:00
Chris Freehill 30f23c3ff4 Re-enable RSMI call using updated API prototype
Change-Id: Ifc8fa35708fea05cbc8a9bea727a6d4c9d2ecea7


[ROCm/ROCR-Runtime commit: 68c202de1f]
2019-03-18 23:18:42 -05:00
Chris Freehill 79ad9eebf6 Temporary disable of rsmi call due to api change
Change-Id: If73f31c5fbe4bcd34f8e52a5109a6fbfff70b5e1


[ROCm/ROCR-Runtime commit: 7b3537cf44]
2019-03-16 21:05:47 -05:00
Chris Freehill 4661538a0a Fix boolean semantic error
Change-Id: Ic927370d5874af3f33105fca6ee0b581ebc6fa08


[ROCm/ROCR-Runtime commit: 014945310a]
2019-01-31 14:03:48 -06:00
Chris Freehill 8f1a9494cd Fix async memory test; temporarily disable NUMA memory test
Change-Id: I1c0618f5dba513c1cf8fafb5fc64e5c811df8454


[ROCm/ROCR-Runtime commit: 626f13a88b]
2019-01-31 09:14:54 -05:00
Chris Freehill c848f8a365 Decrease test size for emulatation runs
Decrease number of iterations and array sizes in some cases.

Change-Id: I1a0a43faa907b28662ff3a44c172950ed7b1500e


[ROCm/ROCR-Runtime commit: 6bca866e6c]
2019-01-14 21:23:04 -05:00
Mark Searles 508124a012 Force object code v2 until v3 is supported
Change-Id: I4c2a64bf9bd515686d1f1d90aece2a9ac40e5685


[ROCm/ROCR-Runtime commit: 8ea836017a]
2018-11-21 10:06:08 -08: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
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
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
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
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
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
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
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