Commit grafiek

227 Commits

Auteur SHA1 Bericht Datum
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
Qingchuan Shi 3a46556dcc Add debug trap rocrtst.
Change-Id: I73682d7a2ad51eed9988075e012478a1afc76c7c
2018-05-22 13:31:45 -04:00
rohit pathania 47af1d673e Memory Concurrent tests for pool Memory allocate, Memory free and get pool info
Change-Id: I6a1343348e400fe466e041d651adaa67be561a21
2018-05-14 01:30:54 -04:00
Chris Freehill 11e13704ea Added rocm-smi-lib calls with updated interface
Change-Id: I62b59dca5135ec012f11b249c78b04e5e8e2dd9a
2018-04-27 18:36:54 -04:00
srinivas Charupally 8c8cd2dbd0 Adding concurrent init and init shutdown tests
Change-Id: Ifdbda16ae6c93a86373557f26eb414e40775d343
2018-04-24 11:56:50 +05:30
rohit pathania b1b036acb8 Memory Allocation Negative tests
Change-Id: Icdd355f2351968dd76a3bc466636e223573cfb16
2018-04-23 01:49:43 -04:00
Chris Freehill 0d9e71a63a Revert "Re-enable rocm-smi with new c api"
This reverts commit 2e81d33395.

Change-Id: I9866610597a6de97a3c06ef9646f0afc85f149f4
2018-04-07 19:59:13 -04:00
Chris Freehill 2e81d33395 Re-enable rocm-smi with new c api
Change-Id: Idf393f31522bac8ac0c3c03a930ef66d97ce5fa2
2018-04-07 18:55:30 -04:00
Konstantin Zhuravlyov c93584e725 ROCRTST: Add missing hidden arguments
Change-Id: Idd5d58749f4dd740c96299c40e87d83840b6fb2b
2018-04-02 18:19:24 -04:00
Chris Freehill 81c923b26f Reenable Memory_Max_Mem test
Change-Id: I2da50f886cd8d28d0f9ad8b8f77cfa13d392bf01
2018-02-13 17:37:25 -06:00
Chris Freehill 146b3871df Completely disable rocm-smi (take 2)
Change-Id: I68f403c539163bfe00ee2b59dbd36d1c6d7669f1
2018-02-12 06:43:47 -06:00
Chris Freehill bd0c4efc34 Completely disable rocm-smi from rocrtst until rocm-smi-lib is updated
Change-Id: I5cce06a2bbde7a3a48e391022c793a462794c6d1
2018-02-11 21:42:25 -06:00
Chris Freehill 8bf85cc668 Temporarily disable rocm-smi to integrate with new rocm-smi
Change-Id: I06701cd4ac80bb4f3a9ae48d5374b7d4a788f8a4
2018-01-26 06:44:01 -06:00
rohit pathania ee917eca68 Added CPU to GPU and GPU to CPU MemoryAccess Tests, Added enqueue latency Tests
Change-Id: I18643d283101b792fa25705c8149ddc5a9eefe73
2018-01-08 04:11:32 -05:00
rohit pathania 7310312291 Resubmitted added and modified common utilities functions for rocrtest with faile to open file fix
Change-Id: Ie45668df1a15c1be7e8bdb10b967b98fb3024252
2017-12-18 05:06:22 -04:00
Kent Russell c3a880db7d Revert "added and modified common utilities functions for rocrtest"
This reverts commit 7e46704abb.

Change-Id: I825b210ce4fc831f8a978faf1c7d83d54408efa4
2017-12-15 06:04:50 -05:00
rohit pathania 7e46704abb added and modified common utilities functions for rocrtest
Change-Id: I80afa33a46b3d95058be306869e7ed54b2b7df64
2017-12-14 12:01:16 -05:00
Chris Freehill 473be763ff Re-enable IPC test
Fix for  fixes this.

Change-Id: I63a8d1a16d5029f240f075bb97ab6a1156b5cab2
2017-11-08 10:02:51 -05:00
Chris Freehill 5a3230af66 Undo temporary namespace change
Change-Id: I7f4c06f7037713db855b51367256cf4c7ba41860
2017-10-20 20:02:13 -05:00
Chris Freehill 50a3d9402a Temporary change to namespaces to adjust for smi change
Change-Id: Ic91bfb678912a82214f0a462a4b57e531f12977a
2017-10-20 13:12:06 -04:00
Ramesh Errabolu 703b1466c1 Update Copy requests involving all pools i.e. options -a or -A
Change-Id: I0c8d8fbb39f43cd6a1f84ae6ae32337fa9b1f5e2
2017-10-10 13:01:46 -04:00
Chris Freehill 75eb3316aa Make rocrtst use new rocm_smi library
Change-Id: Id688d6d6d5ff106a23f5b55eaca4e723c39433a3
2017-10-06 09:41:10 -05:00