Grafico dei commit

56 Commit

Autore SHA1 Messaggio Data
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
nives-vukovic 64b7fa1b80 EXSWHTEC-18 - Implement positive test for hipDeviceGetStreamPriorityRange (#2911)
- Add hipDeviceGetStreamPriorityRange.cc file with a test for simple device stream priority range check
- Add newly created file into CMakeLists.txt

[ROCm/hip-tests commit: 26d316a250]
2022-09-26 11:02:49 +05:30
ROCm CI Service Account 737e74156f SWDEV-287351 - Fix hipStreamWithCUMask hang on Navi21 (#2939)
- For gfx >= 10, one work group processor encompasses 2 CUs & hence the CUs need to be enabled in pair

Change-Id: I359df1b221b4400b260b02201b7b0385054784f3

[ROCm/hip-tests commit: 3af54da059]
2022-09-23 12:37:42 +05:30
ROCm CI Service Account fba551cb60 SWDEV-327563 - Enable fixed tests linux and windows v3 (#2943)
Change-Id: Ia5c47821268d7f31b70c473ef2a4785b6735a2f1


[ROCm/hip-tests commit: e8eb0f375f]
2022-09-21 11:59:06 -07:00
Finlay 2339933dc1 EXSWCPHIPT-133 - Added support for offsetting to arrays to hipStreamValue tests (#2766)
[ROCm/hip-tests commit: cc1f3702e7]
2022-08-08 10:47:42 +05:30
Fábio ff417f11a7 Added testing for hipStreamSynchronize and hipStreamQuery (#2572)
[ROCm/hip-tests commit: ed3eb0db78]
2022-08-08 09:29:20 +05:30
Finlay 1a48ce29ba EXSWCPHIPT-140 - Added hipStreamCreateWithFlags tests (#2549)
[ROCm/hip-tests commit: 8c492acb9d]
2022-08-05 10:59:44 +05:30
Finlay 4903996409 EXSWCPHIPT-139 - added tests for hipStreamDestroy (#2548)
[ROCm/hip-tests commit: 17050703b1]
2022-08-05 10:59:19 +05:30
Jatin Chaudhary fb0006cafe Add tests for hipStreamWaitEvent (#2559)
[ROCm/hip-tests commit: 867f1276b7]
2022-08-03 16:47:34 +05:30
ROCm CI Service Account de5f99b55d SWDEV-345323 - Free H & D memory and destroy stream. (#2809)
Change-Id: I552ac0ad1002fce13767c405558d5d655c7b5c7c

[ROCm/hip-tests commit: e514aff37d]
2022-07-19 20:09:18 +05:30
Jatin Chaudhary a99832076d EXSWCPHIPT-37 - Add test for hipStreamAttachMemAsync (#2558)
[ROCm/hip-tests commit: c0374feacc]
2022-07-11 14:37:22 +05:30
Jatin Chaudhary 595d29b186 Add HIP_CHECK_THREAD and REQUIRE_THREAD macro for multi threaded HIP API tests (#2664)
[ROCm/hip-tests commit: 4820aa0dd4]
2022-06-20 15:07:13 +05:30
ROCm CI Service Account 4fd14eda91 SWDEV-330666 - Test cases for null stream and/or priority. (#2651)
Change-Id: I9f5c99513fa1c754c2ab2e3cb9dcd5b6a3bb0176

[ROCm/hip-tests commit: eb22c8be11]
2022-06-15 11:29:21 +05:30
Dylan Angus fb55534367 Adding support for hipStreamWriteValue32/64 and hipStreamWaitValue32/64 (#2568)
* AHTS-90 - Add missing test case for hipStreamCreate
* Update hipStreamGetFlags testing
* Added testing for hipStreamSynchronize
* Added macro to test a particular error code is returned from an expression
* Update hip_test_common.hh
* Correcting checkers to properly list the test count
* fix copy paste error in HIP_CHECK_ERROR
* Add support for hipStreamWaitValue
* Remove changes unrelated to this PR
* Revert "Added testing for hipStreamSynchronize"
* Remove changes unrelated to this PR
* Added skip test for failure on AMD devices and removed changed to hip_test_common.hh
* Fixed build issues on Nvidia platforms by disabled incompatible tests; Updated negative tests to check the correct return values

Co-authored-by: Jatin Chaudhary <jatin.chaudhary@codeplay.com>
Co-authored-by: Fábio Mestre <fabio.mestre@codeplay.com>
Co-authored-by: Finlay Marno <finlay.marno@codeplay.com>
Co-authored-by: Fábio <fabio.m.mestre@gmail.com>

[ROCm/hip-tests commit: 0150ab8682]
2022-06-03 08:31:30 +05:30
Fábio 44c02722e6 Update hipStreamGetFlags testing (#2565)
Added new negative test case scenarios
Changed assertions to check for a specific flag.

[ROCm/hip-tests commit: aa9c3859f8]
2022-06-02 11:06:55 +05:30
Finlay 44fc472d01 Updated negative tests for hipStreamGetPriority (#2517)
[ROCm/hip-tests commit: 99a23cfd45]
2022-05-25 11:50:59 +05:30
ROCm CI Service Account 7253d79db9 SWDEV-327563 - Windows: enable skipped devicelib, event, stream tests (#2668)
Change-Id: Iebc9766f71f20148d2d4b6e08de7745111393a97


[ROCm/hip-tests commit: 824d79cd50]
2022-05-06 11:04:10 -07:00
ROCm CI Service Account a53690ab69 SWDEV-331548 - fix test hang issue (#2658)
destroy stream before exit

Change-Id: I1a51ae349d0dd9a5ff6cdac21c5930bd6d87e021

[ROCm/hip-tests commit: 308e9520c2]
2022-05-05 11:55:50 +05:30
Jatin Chaudhary aea5bb334c Add and restructure tests for hipStreamCreate (#2560)
* Add and restructure tests for hipStreamCreate
* Add streamCreate to CMakeLists file

[ROCm/hip-tests commit: 600157719d]
2022-04-01 09:02:45 +05:30
agunashe 01240ce9ce SWDEV-273235 - catch2 windows build (#2422)
Change-Id: I331c6c2525a65746e2d0799ec8dc2f608af1176a

[ROCm/hip-tests commit: 3ccd6ec300]
2021-11-26 11:52:46 +05:30
agunashe 82957e3458 SWDEV-273235 - Linux: catch2 shared lib to executable (#2421)
Change-Id: I17101e39fd05eb35c087ebdf3cb005d428d9f206

[ROCm/hip-tests commit: f90c5d218c]
2021-11-26 11:02:29 +05:30
sumanthtg cdb82b6558 SWDEV-303262 - Catch2 test fix for -Wunused-but-set-parameter compilation error. (#2357)
Change-Id: I102d80763103fa792ab1282745bd89f8d24454d2

[ROCm/hip-tests commit: dc22ccc85e]
2021-09-24 16:27:17 +05:30