Alysa Liu
4fab4d70e6
rocrtst: migrate from rsmi API to amdsmi API
...
Replace ROCm SMI (rsmi) API calls with AMDSMI (amdsmi) API calls
in rocrtst.
Signed-off-by: Alysa Liu <Alysa.Liu@amd.com >
2025-07-11 11:22:34 -04:00
Sunday Clement
d2b35dfee6
rocrtst: Add new test for querying Clock Counters
...
added new subtest to Agent Properties test, to check functionality of
query.
Signed-off-by: Sunday Clement <Sunday.Clement@amd.com >
2025-06-23 18:45:09 -04:00
Shweta Khatri
2cf3813f9f
rocrtst: Disable FreeQueueRingBufferTest temporarily
...
This test is disabled until kernel patches are added to handle invalid
user actions gracefully. These patches validate and block operations
like freeing active queue buffers, which can corrupt the driver's state
if unhandled.
Currently, such operations result in driver state corruption, leading
to segmentation faults and subsequent failures during runtime.
Change-Id: If4c321a14df950a639141fc96048889659c14477
2024-11-26 09:18:47 -05:00
David Yat Sin
3cb25e5236
rocrtst: Add negative test for invalid buffer free
...
Add a negative test to try to free the ring buffer of a queue and
confirm that a memory error is generated.
Change-Id: I4afd95c69c62f7c3e1138d5d6c4a5fd237631e43
2024-09-19 19:44:53 +00:00
Shweta Khatri
2e1f363d2f
Revert "Added new ROCr Trap Handler Test"
...
This reverts commit b156e906d9c192bd487d10a8900e3eb6090ef547.
Reason for revert: Memory violation test causing a timeout in subsequent test.
Change-Id: If3a217575af545a47d6d67bebba4a2c640a43b81
Signed-off-by: Chris Freehill <cfreehil@amd.com >
2024-06-25 12:27:09 -05:00
Shweta.Khatri
6f6f02f352
Added new ROCr Trap Handler Test
...
Intentionally trigger sw exceptions to verify GPU can handle abnormal scenarios
Change-Id: Ie80aa21883a912834ce6d917ecbb21ff6b3145f5
Signed-off-by: Chris Freehill <cfreehil@amd.com >
2024-06-25 12:27:09 -05:00
David Yat Sin
d2d95a8948
rocrtst: add test for contiguous mem allocations
...
This test may fail when run on non-upstream versions of KFD as this
feature will not be upstreamed.
Change-Id: I7131e1f50984739c0df12e4c9afe790bd7e4cdfa
2024-04-30 17:42:15 -04:00
David Yat Sin
99e31e43aa
rocrtst: Add test for GPU access to memory
...
Add test to verify whether GPU shaders can read memory created using VMM
APIs.
Split VMM rocrtst to two separate groups: Basic and Access tests
Change-Id: Iead8d46125580c71ccd582e967c8e2e891e75c5e
2024-02-22 14:12:05 +00:00
David Yat Sin
84c30dd735
VMM: rocrtst for exporting/importing dmabuf
...
This is part of patch series for Virtual Memory API.
Change-Id: I1f1357a39b48b0d0611967ce9dd0b83b6a8db864
2024-01-17 10:25:20 -05:00
David Yat Sin
a69c1e9f39
VMM: rocrtst for basic virtual memory APIs
...
This is part of patch series for Virtual Memory API.
Change-Id: Ic3b44435cb09ad17d833b4a4b2551bd211b494e9
2024-01-17 10:25:09 -05:00
David Yat Sin
c81c18bcc5
Temporarily disabling Queue_Validation_InvalidWorkGroupSize
...
Change-Id: I88c5900151b9f572f956cd7b428119b614331be9
2023-12-14 16:46:19 -05:00
Graham Sider
e2c3c3e510
Revert "Disable Queue_Validation_InvalidGroupMemory"
...
This reverts commit 7b74271d5e .
Signed-off-by: Graham Sider <Graham.Sider@amd.com >
Change-Id: I8424c96d5e5c3c9a9e7711ecff7c5372190b0d2d
2023-06-05 09:41:02 -04:00
David Yat Sin
7b74271d5e
Disable Queue_Validation_InvalidGroupMemory
...
Temporarily disabling rocrtstNeg.Queue_Validation_InvalidGroupMemory
until it is fixed.
Change-Id: Ifc1973a960c8d0bae27e2628e4bfddc60f70325d
2023-05-12 11:03:26 -04:00
David Yat Sin
ec759c7995
Add rocrtst to Query agent memory available
...
Add new test for GPU agents memory available
Change-Id: Ib07e2003a21659b99732b535cd004081635d6aa1
Signed-off-by: David Yat Sin <david.yatsin@amd.com >
2022-08-11 09:36:58 -04:00
David Yat Sin
d77cc854ff
Temporarily disable CU Masking test
...
Disabling CU Masking test until it is fixed
Change-Id: I58fa2ec760ac5c942eb017108dbe832be4dc8f77
2022-07-22 09:42:38 -04:00
Sean Keely
d27d4545e2
Add cu masking test.
...
Change-Id: I8b62ebd60f2edde3ea0b298f0353381855163fea
2022-06-28 11:22:42 -04:00
Sean Keely
7512c32f69
Add emulator build notification to rocrtst.
...
Change-Id: I3eb5fd5ec26541f3459aebf289d25c942f09da02
2021-08-13 16:46:26 -05:00
Sean Keely
7333c77e22
Squash merge of cfreehil/amd-temp-gfx90a onto amd-staging.
...
Includes some workarounds and HMM.
Conflicts:
opensrc/hsa-runtime/core/runtime/amd_topology.cpp
opensrc/hsa-runtime/core/util/flag.h
Change-Id: I22976f07964a43dbb228a6231777dbd599112b8d
2021-04-02 02:10:15 -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
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
4fafdcb00c
Add deallocation callback test to rocrtst.
...
Change-Id: Ia20abd8f1f64213eea0c3c1c771cc229cf38fd5d
2019-07-19 14:17:21 -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
Chris Freehill
259a1bac18
Temporarily disable some failing tests
...
Change-Id: Iee713bb963db812c36ce2568aee2a4f8409c52e5
2019-06-14 08:36:11 -05:00
Chris Freehill
626f13a88b
Fix async memory test; temporarily disable NUMA memory test
...
Change-Id: I1c0618f5dba513c1cf8fafb5fc64e5c811df8454
2019-01-31 09:14:54 -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
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
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