Aaron Enye Shi
d23b26f760
Update to use new bitcode library structure
...
Rather than manually linking to the device libraries, the compiler
can now handle linking with them. Allow the build to continue using
old layout if the build system still uses it. Therefore maintain
compatibility with ROCm 3.7 and earlier.
Change-Id: Ida81775da3d0f7c2c67386a71cb057ede31a1545
2020-07-14 15:55:08 -04:00
Ramesh Errabolu
17bd3b7da5
Refactor IPC test files
...
Change-Id: I879656b9e99f5cffb6adf16e0fea4e75220cd272
2020-06-22 15:04:12 -04:00
Sean Keely
9c9064c2b7
Correct async_mem_copy sample.
...
Peer accessibility query was not previously directed at the peer agent.
Change-Id: I259f0afac827a6e4778a56419a3acd296d00391b
2020-05-11 18:39:39 -04:00
Matt Arsenault
2e73d52ac6
Use -nogpulib in another place
...
Change-Id: I9cc1daa7db7d1f2ff07a0dbfb403dbf41f4bbffb
2020-04-28 13:46:01 -04:00
Matt Arsenault
0d84b66b1e
Use -nogpulib as a quick build fix
...
Change-Id: I28ca7d53c76f0829719079dfb67b6314f5ff27cc
2020-04-28 10:08:37 -04:00
Sean Keely
b90bf473c1
Correct capture of PoolInfo::allocable_size_.
...
Change-Id: I80757bb36048bc15b928220aca0a1eb5d898ab22
2020-04-21 19:03:24 -05:00
Sean Keely
e25ae1263b
Remove references to finalizer header.
...
Change-Id: I6608c95268ab4bc66053d889cf7d5a30cd8fccab
2020-04-17 23:50:23 -04:00
Sean Keely
a9470e3563
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
2020-04-17 23:43:38 -04:00
Ramesh Errabolu
7434fa14d4
Extend RocrTst to query UUID of ROCm devices
...
Change-Id: I6c9fa9751c893ba119e8b7a2808a8ab2aebeba3b
2020-04-16 21:29:32 -04:00
Chris Freehill
f5e86a8f14
By default, don't collect rsmi monitor values
...
Change-Id: I4946efadcb9c5ececead1b4c40b73adc5ceca957
2020-02-14 18:06:19 -05:00
Konstantin Zhuravlyov
096e715629
Switch to llvm monorepo
...
Change-Id: Ibfe045afd811d36521486573168aecd06279ccb6
2019-12-17 22:55:20 -05:00
Chris Freehill
4c22962024
Import PAL version of addrlib with initial gfx1xxx support
...
Change-Id: I439930a5cbf5b13a359ec164e75c6828af8c668d
2019-12-12 21:38:01 -06:00
Sean Keely
f62017f4a5
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
2019-11-16 03:10:28 -06:00
Ramesh Errabolu
086b4b686c
Fix Aql Header initialization
...
Change-Id: If23c12b28d22fb62b673038890f40bb0f3c3948b
2019-11-06 16:13:58 -05:00
Chris Freehill
53228ad819
Add some gfx1xxx targets
...
This is to fix
Change-Id: I69a87884d8174733905e4c007cf0f19b5103482a
2019-10-16 09:01:22 -04:00
Sean Keely
324e0e5e0a
Correct ROCr library path in rocrtst.
...
Change-Id: I3624f37e256a0b61f55b1eb1ae48dabd87481b5f
2019-08-23 19:29:30 -04:00
Ramesh Errabolu
3201f68f72
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
2019-08-23 14:55:40 -04:00
Ramesh Errabolu
4a0d50f415
Handle thread creation error correctly
...
Change-Id: Iaa8811e245aa20ac107aef104847df3e455518f1
2019-08-05 15:39:54 -04:00
Chris Freehill
2c15bcac9d
Add ISAREG entry for gfx908 for ECC not supported
...
* Also, re-enable rocrtst
Change-Id: I70106c5a1788818387e46f240d577cbe59bc89f4
2019-07-22 21:50:09 -04:00
Sean Keely
4fafdcb00c
Add deallocation callback test to rocrtst.
...
Change-Id: Ia20abd8f1f64213eea0c3c1c771cc229cf38fd5d
2019-07-19 14:17:21 -04:00
Chris Freehill
d699039284
Make build_rocrtst.sh build all target kernels by default
...
This will allow the default target list to be branch
specific.
Change-Id: If8ecc14e2b7fb5ed2eb25ab447480308d539b248
2019-07-05 19:30:07 -04:00
Chris Freehill
8caa6c0b01
Temporarily disable Debug test
...
Change-Id: Iabb238fcd78b9c2eb0c085b19ab93b8c9e538140
2019-06-29 04:55:35 -04:00
Chris Freehill
081a2cc875
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
2019-06-21 17:34:10 -05:00
Sean Keely
bb980462e7
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
2019-06-19 01:03:52 -04:00
Chris Freehill
259a1bac18
Temporarily disable some failing tests
...
Change-Id: Iee713bb963db812c36ce2568aee2a4f8409c52e5
2019-06-14 08:36:11 -05:00
Chris Freehill
68c202de1f
Re-enable RSMI call using updated API prototype
...
Change-Id: Ifc8fa35708fea05cbc8a9bea727a6d4c9d2ecea7
2019-03-18 23:18:42 -05:00
Chris Freehill
7b3537cf44
Temporary disable of rsmi call due to api change
...
Change-Id: If73f31c5fbe4bcd34f8e52a5109a6fbfff70b5e1
2019-03-16 21:05:47 -05:00
Chris Freehill
014945310a
Fix boolean semantic error
...
Change-Id: Ic927370d5874af3f33105fca6ee0b581ebc6fa08
2019-01-31 14:03:48 -06:00
Chris Freehill
626f13a88b
Fix async memory test; temporarily disable NUMA memory test
...
Change-Id: I1c0618f5dba513c1cf8fafb5fc64e5c811df8454
2019-01-31 09:14:54 -05:00
Chris Freehill
6bca866e6c
Decrease test size for emulatation runs
...
Decrease number of iterations and array sizes in some cases.
Change-Id: I1a0a43faa907b28662ff3a44c172950ed7b1500e
2019-01-14 21:23:04 -05:00
Mark Searles
8ea836017a
Force object code v2 until v3 is supported
...
Change-Id: I4c2a64bf9bd515686d1f1d90aece2a9ac40e5685
2018-11-21 10:06:08 -08:00
Chris Freehill
c1fbd8aa54
Use 64 suffix for rocm_smi lib name
...
Change-Id: Idab0f5576f830657afb6bf26e1d88b18244431cb
2018-08-20 08:05:31 -05:00
Chris Freehill
65c3cf27f5
Use the new name of the rocm_smi library
...
Change-Id: I7358b7b819826f1d3d3b0ca99fc5fd1a4e6d9536
2018-07-13 11:46:49 -04:00
Chris Freehill
3cca09ccca
Fix NUMA async copy test
...
Change-Id: I64b5bd1ac5bf9b58d86c3dfc170bcf06a39abee4
2018-07-11 19:20:13 -04:00
Chris Freehill
06759fed5f
Undo temporary work-around for RSMI change
...
Change-Id: I9bf144add951c95e4eebc8647bffb71d13f4f612
2018-07-09 08:46:57 -05:00
Chris Freehill
ae0c852074
Temporary work-around for RSMI change
...
Change-Id: If4913d5d0cdb0415569c75ab312c39b4253cd4fa
2018-07-07 22:57:42 -05:00
rohit pathania
6df6ef778d
Kernel group memory dynamic allocation, basic allocation and free test
...
Change-Id: I17fdb77f17567ac1b429d9a571cac70ac1e64dd4
2018-06-15 10:49:10 +05:30
rohit pathania
d8e47ba115
Modified memory atomics on non Large bar system and pool info test memcmp issue fix
...
Change-Id: I951fdb6c91508f43b1c51f7eb92870543fc58e53
2018-06-11 18:49:29 +05:30
Chris Freehill
12a81ae96f
More emulator friendly tests/examples
...
Change-Id: I27ab26add14743dfb065238129c14b48913d9df8
2018-06-08 17:58:37 -04:00
Chris Freehill
8a6f0d6b24
Disable Signal tests
...
They are breaking Jenkins builds.
Change-Id: I1647049abee0ebc2a4751e66d9ceed56cadc4c3e
2018-06-08 15:47:09 -04:00
rohit pathania
c2ddd11979
Build failure issue in rocmaster 8386
...
Change-Id: I413abe0c9fbe16ab2e722cf3f7567aa2853e585b
2018-06-07 13:05:39 +05:30
srinivas Charupally
f0a1b310fd
Adding Signal Kernel tests
...
Change-Id: Ie34de41741a7c4731a0ff3761e940971b6f08745
2018-06-06 16:25:18 +05:30
rohit pathania
d0f6da277d
Concurrent testing for queue write index
...
Change-Id: If5b60b943a861d8f97d01b7fd8f757fdb36845c6
2018-06-05 11:57:38 +05:30
Chris Freehill
2c8cbf61c3
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
2018-06-04 18:51:09 -05:00
Chris Freehill
845a539478
Disable Aql_Barrier_* tests
...
Change-Id: Ibe08b88c101a60e4c6f0c61cda756e2cb5857d7d
2018-06-04 11:46:08 -04:00
srinivas Charupally
a632bfddb2
Adding Aql tests
...
Change-Id: Id22dcafbf0ea0b346f3a03d4acef27350b706f36
2018-05-31 15:29:37 +05:30
srinivas Charupally
2c551d38b6
Adding Signal tests
...
Change-Id: I1815267a0e19614a84013e797bd3df3e77ee8179
2018-05-30 01:40:31 -04:00
rohit pathania
044fb8dc27
Different Atomic operation tests on GPU and system memory
...
Change-Id: I04154b588086d49142a64c8fe4826d041ded2991
2018-05-28 22:18:48 +05:30
rohit pathania
08a253684b
Queue validation tests and memory alignment tests
...
Change-Id: I96d8c2898795240288517bdcbc2b48ff2cc04f66
2018-05-28 14:26:05 +05:30
srinivas Charupally
2c1919c681
Adding concurrent shutdown, reference count and max reference count tests
...
Change-Id: Ib6f40585bf1ab2b1d6f33bbb1675e13545a23a4e
2018-05-28 00:51:05 -04:00