Граф коммитов

77 Коммитов

Автор SHA1 Сообщение Дата
systems-assistant[bot] becb4646bd SWDEV-546346 - [catch2][dtest] Tests for hipStreamSetAttribute and hipStreamGetAttribute (#524)
* SWDEV-546346 - [catch2][dtest] Tests for hipStreamSetAttribute and hipStreamGetAttribute

* SWDEV-546346 - Modified Kernel, added info statement

---------

Co-authored-by: Rambabu Swargam <rambabu.swargam@amd.com>
Co-authored-by: jainprad <92369414+jainprad@users.noreply.github.com>
2025-09-25 15:29:26 +05:30
Ioannis Assiouras 97fc90c58f SWDEV-556250 - Added synchronization before validating the result in Unit_hipStreamLegacy* tests (#1062) 2025-09-23 14:14:51 +01:00
Satyanvesh Dittakavi 86792d8562 SWDEV-549680 - Fix memory leaks in stream tests (#629) 2025-09-03 20:33:49 +05:30
systems-assistant[bot] 4174508dcc SWDEV-545953 - Tests for hipStreamGetId (#529)
Co-authored-by: Satyanvesh Dittakavi <Satyanvesh.Dittakavi@amd.com>
Co-authored-by: ammallya <ameyakeshava.mallya@amd.com>
Co-authored-by: swargamrambabu <rambabu.swargam@amd.com>
Co-authored-by: jainprad <92369414+jainprad@users.noreply.github.com>
2025-08-29 16:07:01 +05:30
Danylo Lytovchenko 2ff2316227 Adjust clang format to the new versions, revert broken macro layout (#714) 2025-08-22 17:23:22 +02:00
Danylo Lytovchenko f7338717ae SWDEV-470698 - fix formatting, add format check workflow (#657) 2025-08-20 19:58:06 +05:30
Patel, Jaydeepkumar 3766537ced SWDEV-534016 - Change error code as per current CLR logic (#207)
Change error code as per current CLR logic.
Intra device async memcpy in 2 diff threads can't sync by CLR internals, It needs to be handled by app/test.

[ROCm/hip-tests commit: a4c93871b5]
2025-07-30 21:21:56 +05:30
Xie, Pengda dd6d3a6cd3 SWDEV-514841 - Remove invalid stream tests on AMD platform
[ROCm/hip-tests commit: 0c1a7bf155]
2025-05-08 16:25:23 -07:00
Aidan Belton-Schure 3838bda081 SWDEV-489364 - Free memory in hipAPIStreamDisable
Change-Id: I4f740fe803bcc4bbf57865173d92c567de65fdbb


[ROCm/hip-tests commit: 674ed47852]
2025-03-06 04:07:21 -05:00
Ioannis Assiouras aaecd3e058 SWDEV-493278 - Fix error codes in Unit_hipStreamBatchMemOp_Negative_Tests
Change-Id: I560da08d94b2ec41bbb5d5dc96561b79daa410a5


[ROCm/hip-tests commit: 22946cd158]
2025-01-27 14:00:24 +00:00
SrinivasaRao 93b661d9b0 SWDEV-493278-[catch2][dtest]-Negative Tests for the hipStreamBatchMemOp API
Change-Id: I408aa01e279817b44ff05571f3251a281dd5a4f6


[ROCm/hip-tests commit: 7d2ed4bd39]
2025-01-24 13:47:16 -05:00
Rambabu Swargam ce3f70c1d5 SWDEV-506876 - [catch2][dtest] Enable stress tests for hipStreamLegacy
Change-Id: Ica8d0e68f4ec19af48d6d417f018b9d8f375125d


[ROCm/hip-tests commit: 94f5907371]
2025-01-24 13:34:29 -05:00
Marko Arandjelovic fe9860bd47 SWDEV-485763 - Fix memory leaks in various unit tests
Fix memory leaks by adding missing destroy calls for
events, streams, and graphs at the end of tests.

Ensure that every test case executes destroy calls,
regardless of whether it passes or fails.

Change-Id: I814e35c528d90ed2abb34d77377f1a7fd3f1f11c


[ROCm/hip-tests commit: 9cffda4ebb]
2024-12-10 10:25:08 -05:00
Vladana Stojiljkovic d6b1d6a264 SWDEV-489376 - Fix Unit_hipLaunchHostFunc_Graph memory leaks
Change-Id: I209f686cb13f05d6b0b790aaa7ab8b93555df3b1


[ROCm/hip-tests commit: bf9f14d2ee]
2024-12-09 04:01:22 -05:00
Satyanvesh Dittakavi 19ab862ea3 SWDEV-489384 - SWDEV-489388 - Fix memory leaks in hipStreamGetDevice catch tests
Change-Id: I7e96edbdbb8cde8b81c471bd0572f95df40d3530


[ROCm/hip-tests commit: 01bfe61293]
2024-11-26 01:56:28 -05:00
SrinivasaRao 3948ea2930 SWDEV-466663-[catch2][dtest] _spt api names missing from code coverage-Phase-1
Change-Id: Ifd374fcc242767ab7a9e999dba79f2f3c2ef7c4a


[ROCm/hip-tests commit: 4e659f42de]
2024-11-15 17:46:43 +05:30
Ioannis Assiouras d4ad29fd1e SWDEV-489354 - Fixed memleak in Unit_hipLaunchHostFunc_Diffpriority
Change-Id: I8a8b49b225e2b48973ae37727766a4af04d08f6f


[ROCm/hip-tests commit: 950bedf14f]
2024-11-13 07:06:00 -05:00
Ioannis Assiouras 2f4a9f3fd2 SWDEV-489358 - Fixed memleak in Unit_hipMultiStream_sameDevice
Change-Id: I5a662e46546125988d8a75f76aafcc905eab7147


[ROCm/hip-tests commit: d4f6a2defb]
2024-11-13 05:35:34 -05:00
Rambabu Swargam c55f3d16b8 SWDEV-468261 - [catch2][dtest] Functional testcases for hipStreamLegacy
Change-Id: I37cf900d4cfdc244ba8d1d7e2e8c6d34f535a0c2


[ROCm/hip-tests commit: 96d4493c3a]
2024-11-13 00:00:43 -05:00
sdashmiz 4432d9458f SWDEV-462585 - Add initial test for hipStreamLegacy
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Idf38f2e8c49e9011ede73e6222db68ccdc74ed80


[ROCm/hip-tests commit: 4e4cde6d70]
2024-10-15 11:11:12 -04:00
Tao Sang d32df0957c SWDEV-467540 - Verify awaitCompletion()
Update the existing test case to verify
awaitCompletion() for unfinished command.

Change-Id: I0fbcdba9ffb8633d861312c221ac12df1772c6e6


[ROCm/hip-tests commit: 3e0b749b76]
2024-07-30 14:29:35 -04:00
Branislav Brzak 35c7d3e1c6 SWDEV-448163 - Fix Doxygen warnings
Change-Id: If72e312461a72920b6a482009c9aef4cf92f2e1b


[ROCm/hip-tests commit: 6c23e25c86]
2024-03-25 05:18:34 -04:00
Sebastian Luzynski f767e489d8 SWDEV-441274 - Implement a positive test for hipStreamWriteValue
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: I81577c28bf38e56b6a88717478109cda4d4b2ee0


[ROCm/hip-tests commit: 0a1d7aefbb]
2024-03-08 12:27:52 -05:00
Mirza Halilcevic d425db338b EXSWHTEC-384 - Coverage Tool and Test Plan update #455
Change-Id: Idf52308186a73ae1c4d815eb59f20ea7da99c964


[ROCm/hip-tests commit: dc78fafa49]
2024-02-27 22:26:25 +05:30
Mirza Halilcevic dcade635c6 EXSWHTEC-281 - Implement Unit Tests for assert functions #210
Change-Id: I6c05915c957d9b67951b3e97cc35cb1ca72a945f


[ROCm/hip-tests commit: 044a59496c]
2024-02-23 20:45:53 +05:30
Ajay f83e9be99c SWDEV-347670 - StreamWait test issues
SWDEV-439486 - Fix Unit_hipStreamValue_Wait32_NonBlocking_Mask_Gte

Change-Id: Iab61cacaa72ac88905a2befe3aff931f8216d152


[ROCm/hip-tests commit: 8c0a6f1cdb]
2024-01-25 11:30:57 -05:00
Jatin Chaudhary bf7b7e6809 SWDEV-428670 - Delete hipStream*Performance tests
This class of tests can fail randomnly since they assume that time to
create first set of stream should be greater than second set. This is
incorrect since there can be multiple reason why the time for second
batch can be greater than the first batch.

Change-Id: I5f91c2bab7119608014dead25fdeb38523c61682


[ROCm/hip-tests commit: 39aeb7b42e]
2023-12-13 17:12:16 +00:00
Jaydeep Patel d4e5dfa942 SWDEV-425248 - numerous bug fixes
https://gerrit-git.amd.com/c/compute/ec/clr/+/849086 changed stream sync behaviour and accordingly updated Unit_hipStreamCreateWithFlags_DefaultStreamInteraction.
Update error code to match for hipStreamWaitEvent.
Thread detach makes executions all async and while that is happening, It is unexpected effect for device reset so join thread is better.

Change-Id: I1affa84089626dee478d8bcc5aaa318e320fd6b0


[ROCm/hip-tests commit: be88e1dffc]
2023-11-17 06:30:38 -05:00
Jatin Chaudhary 3a4f3e5fab SWDEV-411064 - check if image is supported before running image specific tests
Also fix CU Mask test.

Change-Id: I0fbb93a1bcce131e0f98dee7cd5da9704d2ca8ac


[ROCm/hip-tests commit: e605151eb1]
2023-11-07 01:05:01 -05:00
Jaydeep Patel 9d7a3e0e60 SWDEV-424039 - Min CU mask on MI300 should be 10 as it has more max CUs.
Change-Id: Iecd9765a9aba969622f7e5581d952615850bd343


[ROCm/hip-tests commit: 0f99950ba7]
2023-11-06 08:29:51 -05:00
ROCm CI Service Account c39777c629 SWDEV-386902 - [catch2][dtest] Test case to verify hipStreamCreate Performance (#222)
Change-Id: I8e6695a4e9214bc9ade598be993e1cbf0b1d210d

[ROCm/hip-tests commit: cdf434b357]
2023-08-14 20:52:06 +05:30
ROCm CI Service Account d3b771c91d SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests (#363)
* SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests env vars such as HIP_PATH, ROCM_PATH, HIP_COMPILER, HIP_RUNTIME, HSA_PATH etc are removed.

Change-Id: I280e20b291cfb14675846aae72d97fa5b3ad567d

[ROCm/hip-tests commit: 34976df246]
2023-08-14 12:06:14 +05:30
ROCm CI Service Account f72821a84d SWDEV-408958 - Use LaunchDelayKernel and modify it to use same kernel based on real time clock for gfx10 and gfx11. (#370)
Change-Id: Iea8a48e8cbfa1745c7d5535dc5820133a4104087

[ROCm/hip-tests commit: 04080c2e2e]
2023-07-20 10:16:56 +05:30
ROCm CI Service Account 9916a91962 SWDEV-389825 - intermittent failure on multithread test (#315)
- remove null stream from operation with other created streams on multithread test
- some general test fix

Change-Id: Icec7436f92a2d90dcee93ed5cdc4c8934d803fde

[ROCm/hip-tests commit: a7ab47589b]
2023-06-29 08:57:38 +05:30
ROCm CI Service Account 4ba3a31215 SWDEV-392791 - [catch2][dtest] Migrating locally available test cases of hipStreamCreateWithPriority() api to Catch2 (#269)
Change-Id: I232f9d2e4d469f8b46639d020b58bbbbcf09a6d4

[ROCm/hip-tests commit: 573d14a3bf]
2023-06-21 15:59:33 +05:30
ROCm CI Service Account 7ab638c564 SWDEV-378057 - [catch2][dtest] Test cases for hipStreamGetDevice API (#223)
Change-Id: I456e32bfaaa1b284c590015e3319c49e47236f71

[ROCm/hip-tests commit: eea59ab941]
2023-06-21 15:57:26 +05:30
ROCm CI Service Account 38cbcbbb78 SWDEV-372153 - Add tests for hipStreamGetDevice (#212)
* SWDEV-372153 - Add tests for hipStreamGetDevice

Change-Id: Ida2d36ff6f4f38daa97712533d27061fc99454ca

* Fix test on nvidia devices

---------


[ROCm/hip-tests commit: 5ede3b1fb9]
2023-03-21 08:57:30 -07:00
ROCm CI Service Account 3af8290717 SWDEV-360327 - [catch2][dtest] Test cases added for hipLaunchHostFunc API (#170)
Change-Id: I0d92ed0d8e97a2f7b34cc89dd6dcffa2236ee308


[ROCm/hip-tests commit: 12fb9350ad]
2023-03-01 17:31:07 -08:00
ROCm CI Service Account e9ad9e182c SWDEV-1 - Refactor of cmake files of stream and memory unit tests (#174)
Change-Id: Ie29641be95e7fb2a191f22e5d1e588d6943a430f


[ROCm/hip-tests commit: 1c4285f3df]
2023-02-27 15:55:24 -08:00
Rahul Garg ca57f979a0 Catch2 standalone exe (#129)
* SWDEV-359379 - catch2: Standalone single exe per file

-workaround for rsp file issue.
-Creates single exe per file
-tests detection is still during execution time and NOT compile time

Change-Id: Iddfb83d57b2d767212f3d9307a276b7d572da6cd

* SWDEV-359379 - Update CMakeList

* Update Catch.cmake

* Temporarily disable failing tests


[ROCm/hip-tests commit: 961245e9f4]
2023-01-19 14:09:14 -08:00
Mirza Halilčević 89cf6ce4bb EXSWHTEC-99 - Reimplement tests for hipStreamAttachMemAsync (#52)
- Negative parameter tests
- Validate basic behavior
- Validate the behavior when pageable memory access is supported
- Validate the behavior for hipMemAttachGlobal
- Validate the behavior for hipMemAttachHost
- Validate the behavior for hipMemAttachSingle

[ROCm/hip-tests commit: 8ae538a341]
2023-01-17 17:28:57 +05:30
ROCm CI Service Account d8b7cb28ff SWDEV-337452 - Changing Clock64 to WallClock64 in tests for gfx11. (#78)
Change-Id: I484fe9ff7cd56c70a37a3ac5a4a55812f8557259


[ROCm/hip-tests commit: 87fac87657]
2023-01-06 15:05:21 -08:00
ROCm CI Service Account e41399533b SWDEV-345188 - Windows: fix warnings while building catch (#3071)
fixes deprecated warning for 'getenv' on Windows

Change-Id: I5ecdaca451a936e843691c4611910ee338b22e46

[ROCm/hip-tests commit: d20ab63be1]
2022-11-28 20:17:09 +05:30
ROCm CI Service Account c1bfc5c652 SWDEV-346657 - add more hipStreamAcb test (#3064)
* SWDEV-346657 - add more hipStreamAcb test

Change-Id: If94628ec9c285e9689ce471931b3c40b7d3ece84

[ROCm/hip-tests commit: 0ce3886fc8]
2022-11-28 20:16:16 +05:30
ROCm CI Service Account 83e5851beb SWDEV-327563 - Windows Enable fixed tests v5 (#3059)
Change-Id: Ie144e481f38b3e5d462f64d76ab4fd32043f2b46

[ROCm/hip-tests commit: 814f0cc15c]
2022-11-07 15:36:09 +05:30
nives-vukovic 35eb663642 EXSWHTEC-17 - Implement additional hipStreamWaitEvent tests (#2910)
- Add simple test that waits for an event - Unit_hipStreamWaitEvent_Default
- Add negative test when stream is uninitialized - Unit_hipStreamWaitEvent_WithUninitializedStream
- Minor modification of Unit_hipStreamWaitEvent_DifferentStreamstxt
- Modify uninitialized stream error code

[ROCm/hip-tests commit: 6e4c9a8089]
2022-11-03 08:01:37 +05:30
nives-vukovic abfa6877ba EXSWHTEC-40 - Implement additional Stream Management negative tests (#2922)
- Implement negative test for hipStream<Write/Wait>Value when stream is uninitialized
- Implement negative test for hipStreamSynchronize when stream is uninitialized
- Invalid flag negative test for hipStreamWriteValue API removed as flag parameter is not used

[ROCm/hip-tests commit: 17feaa555d]
2022-10-10 13:18:49 +05:30
Paulius Velesko 65a428aaff Catch2 Test Fixes (#2961)
* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments


[ROCm/hip-tests commit: da453211ed]
2022-09-30 15:07:25 -07:00
nives-vukovic 5ce32f14ab EXSWHTEC-37 - Expand tests for hipStreamQuery (#2921)
- Add testing for null stream in Unit_hipStreamQuery_WithNoWork
- Add testing for null stream in Unit_hipStreamQuery_WithFinishedWork

[ROCm/hip-tests commit: 4795cc6265]
2022-09-26 11:03:30 +05:30
nives-vukovic 2570d7501b EXSWHTEC-24 - Fix issues and refactor code in Stream Management tests (#2916)
- Fix bug in calculation of normal priority in Unit_hipStreamGetPriority_StreamsWithCUMask tests
- Delete duplicate test Unit_hipStreamGetPriority_InvalidPriorityPointer
- Separate Unit_hipStreamAddCallback_ParamTst into positive and negative test
- Remove Unit_hipStreamDestroy_Negative_DoubleDestroy test for Nvidia devices due to error

[ROCm/hip-tests commit: 968e21cd1f]
2022-09-26 11:03:18 +05:30