29 Commits

Author SHA1 Message Date
Rahul Manocha af5c453551 hip-tests: Enable standalone test targets with cmake (#2189)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-12-09 11:07:42 -08:00
Jaydeep fa4a75a26c SWDEV-563114 - User stack array instead to avoid delete gets skipped in case of assert failure. (#1553) 2025-12-03 23:03:50 +05:30
amilanov-amd 738bf16008 [hip-tests] Tag multigpu tests with Catch2 tags (#1315) 2025-11-14 13:00:30 +01:00
systems-assistant[bot] f34abcad37 SWDEV-548453 - Fix memory leak (#528) 2025-09-10 21:17:30 +05:30
systems-assistant[bot] be2e7314fa SWDEV-532473 - Add Pcie atomic support check to failing tests (#575)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-09-09 09:01:25 -07:00
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
Gollamandala, Srinivasarao f62fdb7380 SWDEV-526022-[catch2][dtest]-Functional and Negative tests for hipLaunchKernelExC, hipLaunchKernelEx and hipDrvLaunchKernelEx APIs (#156)
* Fntl tests of hipLaunchKernelExC, hipLaunchKernelEx and hipDrvLaunchKernelEx APIs

* Fixed the test failures on windows

[ROCm/hip-tests commit: 60b3aae3c0]
2025-06-03 14:37:25 +05:30
Aidan Belton-Schure 05e6c835c6 SWDEV-514965 - Free leaking memory in kernel tests
* This also removes test that is invalid on GPUs
  - As it requires releasing memory on the device (which it does not do)
  - Copying back the kernel argument to the host
  - It is also a NO-OP as the queue has no pushes to pop

Change-Id: I8050cd400d34f78d5afce71bf0e3d57d1878bef0


[ROCm/hip-tests commit: 714cc594e7]
2025-03-10 05:07:19 -04:00
Jaydeep Patel 72534cd356 SWDEV-487992 - Free memory.
Change-Id: Ic4c7448d7e537953bcebc73210647f52de53b0ee


[ROCm/hip-tests commit: 0422d78c1b]
2024-12-04 09:07:29 -05:00
Satyanvesh Dittakavi dcdfa4c367 SWDEV-499291 - Fix test failures due to nodiscard attibute
Change-Id: I7bd86f6506415a12940ed441556a35753fc0faa4


[ROCm/hip-tests commit: 455ec9d367]
2024-12-03 12:33:12 -05:00
Marko Arandjelovic 66c7eca3ee SWDEW-441411 - Add hipConfigureCall test
Change-Id: I90d9b778d3f53bed20777251f839063431141440


[ROCm/hip-tests commit: b0b04e81be]
2024-08-09 07:41:15 -04:00
Julia Jiang 13c5e7a3e4 SWDEV-472723 - Correct file format and remove trailing spaces
Change-Id: Ie40c763e9391fa36d6c890cd0a171659a1502a83


[ROCm/hip-tests commit: 5d042c80fa]
2024-08-01 15:17:39 -04:00
Ioannis Assiouras 7ed657c2af SWDEV-474159 - Query max LDS in Unit_hipDynamicShared
Change-Id: Ie78613ea1a87d69aff4f764368ea7a1893e021f5


[ROCm/hip-tests commit: 5e26ec0bb1]
2024-07-17 22:17:20 +01:00
Rupam Chetia f64dd272c8 SWDEV-435750 - [catch2][dtest] Adding test case for using auto for kernel variables
Change-Id: Ifa6ba4db474903b70c00b531515b9fb74d312718


[ROCm/hip-tests commit: 4d8a36a0ef]
2024-07-15 11:08:06 -04:00
Vladana Stojiljkovic 7ff2cb905b SWDEV-441595 - Add hipSetupArgument test
Change-Id: I54aa28416986fd000ce0d238074d291d64c861cd


[ROCm/hip-tests commit: 43ce72334c]
2024-07-11 14:32:33 -04:00
sdashmiz 25c1efc7ea FEAT-60269 - Test for large LDS
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I8f476f1b44324fffcc25423209a632caeb48cb99


[ROCm/hip-tests commit: ee6bbb0004]
2024-07-08 12:07:14 -04:00
Sameer Sahasrabuddhe ec1f43cd05 SWDEV-453422: introduce warp sync tests
The following builtins are tested:

  - __all_sync, __any_sync, __ballot_sync and __activemask
  - __match_any_sync and __match_all_sync
  - __shfl_sync, __shfl_up_sync, __shfl_down_sync, and __shfl_xor_sync

The tests for shfl (all variants) were manually validated on a CUDA setup.

NOTE:

  - Unit_hipVoteSync_All temporarily disabled on Windows (SWDEV-452308).
  - All new tests temporarily disabled on CUDA (SWDEV-453145).

Change-Id: I84b205a88aa24219d199c760793e2f19f0cf8f13


[ROCm/hip-tests commit: 53f0a9bd01]
2024-05-03 08:58:23 -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
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
Satyanvesh Dittakavi 039a0b615a Fix issues related to -Werror in hip tests (#396)
* Fix issues related to -Werror
* Correct the skipped tests

[ROCm/hip-tests commit: 605d5eee5d]
2023-08-19 21:38:59 +05:30
ROCm CI Service Account bf57343505 SWDEV-411064 - Remove asm tests since we do not encourage users to use asm in their code (#382)
Change-Id: If328fb3cd953e3921a010d80a8c4d1abf1c9058c

[ROCm/hip-tests commit: 87511a5ca0]
2023-08-14 21:30:00 +05:30
ROCm CI Service Account 7e125561ef SWDEV-388833 - [catch2][dtest] Kernel tests migrated from dtests to catch2 (#320)
Change-Id: Ibc0248300b8ce8b58d1025743ab5946721e9d7e5

[ROCm/hip-tests commit: 5d8dda1c38]
2023-08-14 20:59:31 +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 a1346c114a SWDEV-388834 - [catch2][dtest] Kernel tests migrated from direct to catch2 (#345)
Change-Id: I8d1d7c6d5db018301cd76f2e38b5997ae91c15db

[ROCm/hip-tests commit: a461ae2fc9]
2023-07-08 20:54:42 +05:30
ROCm CI Service Account f97fcfb153 SWDEV-384938 - [catch2][dtest] Warp shuffle function support for half datatypes (#226)
Change-Id: I8fb3f26f51894eaea7824111e3f69deb5da3dde3


[ROCm/hip-tests commit: 3d63316327]
2023-05-09 21:47:47 -07:00
ROCm CI Service Account 0c54833bd6 SWDEV-252801 - Added test for __launch_bounds__ : maxThreadsPerBlock field ignored at kernel launch (#2596)
Change-Id: Ic2b11aebe0845ca57d0fea38ba11ec2584002935

[ROCm/hip-tests commit: d424b82618]
2022-03-31 13:14:11 +05:30
ROCm CI Service Account 3613e91b6f SWDEV-252521 - Added test for Exit w/ memfault fault for stack allocations w/ compile-time known sizes (#2598)
Change-Id: I0ac1d97d76d49a169577d9b650072d0cc27f20f7

[ROCm/hip-tests commit: 49939391e4]
2022-03-31 13:13:29 +05:30