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

52 Коммитов

Автор SHA1 Сообщение Дата
systems-assistant[bot] 605be4bebc SWDEV-505930 - Avoid static initialization of ModuleGuard (#604)
This is to prevent calling catch2 macros from outside catch2 TEST_CASE
that can lead to undefined bahavior. This change also disables
hipGetProcAddress tests that are not supported on static build.

Co-authored-by: Ioannis Assiouras <Ioannis.Assiouras@amd.com>
2025-09-16 21:06:24 +01:00
systems-assistant[bot] ce9fe34c92 SWDEV-549705 - Fixed memleak in Unit_hipExtLaunchMultiKernelMultiDevice_Functional (#521)
Co-authored-by: Ioannis Assiouras <Ioannis.Assiouras@amd.com>
2025-09-16 12:18:59 -07:00
systems-assistant[bot] e5c155d3f3 SWDEV-547453 - Resolve memory leaks in module tests (#535) 2025-09-11 01:16:21 +02:00
systems-assistant[bot] 0a1a419191 SWDEV-534394 - Add test for kernel launch stream on different device (#565)
Co-authored-by: Pengda Xie <pengda.xie@amd.com>
2025-08-26 23:24:57 -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
Betigeri, Sourabh 682bef7754 SWDEV-546579 - Change in no params kernel behavior (#501)
SWDEV-546579 - Modify test to pass size 0

[ROCm/hip-tests commit: 7224ce9378]
2025-08-02 22:12:26 -07:00
Deshpande, Chinmay Diwakar 1ada481219 SWDEV-532676 - Fix hipcc flags for catch tests (#191)
Co-authored-by: Chinmay Deshpande <chdeshpa@amd.com>

[ROCm/hip-tests commit: 1c366ee950]
2025-06-24 21:42:11 -07:00
Manocha, Rahul 91a6727ea6 SWDEV-538600 - Fix error code checks in some tests (#305)
[ROCm/hip-tests commit: b215381bbe]
2025-06-19 21:11:54 +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
Belton-Schure, Aidan c8a720088f SWDEV-527851 SWDEV-527890 SWDEV-529456 - Update vector types test (#172)
* Update vector types test

* update MakeVector to be host+device function

* Add regression testing

* Add tests for subscript operator

Change-Id: Ifac85aaa6cd6d6bd96c4239414e38f284e2a2d54

* Fix unused vars

Change-Id: I6bc2da76dbf962db5d75ea5a84bf16b66f8ba6ba

---------

Co-authored-by: Aidan Belton <abeltons@amd.com>

[ROCm/hip-tests commit: ef6c95f6ce]
2025-05-29 21:38:20 +05:30
Manocha, Rahul 98c34321f1 SWDEV-460098 - Fix error codes for hipLaunchKernel APIs to match cuda (#206)
Co-authored-by: Branislav Brzak <branislav.brzak@amd.com>

[ROCm/hip-tests commit: ea8a7e1e54]
2025-05-29 13:20:49 +05:30
Dittakavi, Satyanvesh f3da3d39fe SWDEV-508973 - Fix the catch tests failures due to change in kernel validation error codes to match CUDA (#198)
[ROCm/hip-tests commit: 1be3aa8283]
2025-05-26 18:41:58 +05:30
Sang, Tao f0dee29292 SWDEV-508863 - Add generic target in compressed fatbin test (#28)
Change-Id: Iae148c3c998b18247624938512918dbb31bc462d

[ROCm/hip-tests commit: 5a33b33ec8]
2025-05-13 09:34:30 -04:00
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
taosang2 53ddaca565 SWDEV-447973 - Add generic target codeobj test
Add simple tests to verify generic target code
objects.

Change-Id: Iae148c3c938b18247624938512918dbb3cbc462e


[ROCm/hip-tests commit: f581518103]
2025-03-10 17:45:14 -04:00
Jaydeep Patel 1eb66249d6 SWDEV-511890 - Use max grid dim from device prop like block dim in checking for corner cases.
Change-Id: I557c70186b4a695b7c151952bf8cfd8dae54eb20


[ROCm/hip-tests commit: c0fc5426e5]
2025-03-10 00:55:15 -04:00
Marko Arandjelovic 5fa5c5d886 SWDEV-504084 - Corrected CooperativeKernelMultipleDevice testcases
Module and stream should be created on the same device, while hipModuleGetFunction can be called from any device.

Change-Id: I4a424f9631678684292e40e05ffbaf3d887aea55


[ROCm/hip-tests commit: 293ff3a025]
2025-03-04 13:08:30 -05:00
Jaydeep Patel 9f86a5231f SWDEV-465220 - Update Kernel Launch negative cases to match with current CLR code.
Change-Id: I891544cdfdc1092467454189ea348f986fc12818


[ROCm/hip-tests commit: 192528c7f2]
2025-03-03 10:48:18 -05:00
Marko Arandjelovic 2be5ef4dfb SWDEV-504084 - Added multidevice testcases for hipModuleGetFunction/Global
Change-Id: I53d6d63f93c800efa2ec0ff2be5ae593756549e0


[ROCm/hip-tests commit: cddb658314]
2025-02-13 12:52:35 -05:00
Ajay d0d2204a53 SWDEV-465215 - fixes for hipFuncGetAttribute tests
Fixes SWDEV-465215, SWDEV-465213, SWDEV-465212

Change-Id: I08b114bf647366abcf900d6b2a17f77ca608fc46


[ROCm/hip-tests commit: 6059eaa7c1]
2025-01-24 16:08:09 -05:00
Rambabu Swargam 41cf067716 SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 2
Change-Id: I4619f8e69b75d1193e98adce2707bf7876b1ba59


[ROCm/hip-tests commit: 7fb9301d6b]
2025-01-21 12:53:28 -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
taosang2 225cedd44c SWDEV-459479 - Add compressed codeobj test
Add simple tests to verify compressed code
objects.

Change-Id: Iae148c3c928e18247624937512918dbb3cbc462d


[ROCm/hip-tests commit: 6e1c4c2655]
2024-11-26 12:14:15 -05:00
Rahul Manocha 24eea67593 SWDEV-486443 - Skip managed memory test for windows
Change-Id: Id2d99c80e73979173ff7558bedafa723a1eec813


[ROCm/hip-tests commit: dcc3dd7029]
2024-11-19 23:29:17 -05:00
Michael Xie b3dcbdaaf6 SWDEV-492356 - Install hip-test artifacts into a single folder
Change-Id: Ib2a2c021e2546c0233050f11d3dc84f2ea4ff03d


[ROCm/hip-tests commit: 72450ae7a1]
2024-11-13 18:22:32 -05:00
Jaydeep Patel 83b098f3e0 SWDEV-482400 - Use correct way to add delay/wait on GPU.
Change-Id: Id1610227c97cc43d289f8c3a04c0c53707ccef48


[ROCm/hip-tests commit: 23eead4e7b]
2024-11-04 12:07:52 -05:00
Jaydeep Patel a2031a7006 SWDEV-481514, SWDEV-482400 - Use correct way to add delay/wait on GPU.
Change-Id: I163896333bf741053173d636a499ed6406e77a09


[ROCm/hip-tests commit: 87c8a0417c]
2024-10-23 14:39:35 -04:00
Marko Arandjelovic 0f5eb7e1f1 SWDEV-465204 - Fix Unit_hipModuleLaunchKernel_Negative_Parameters
Change-Id: I754d1835366f131f44d56da05ac24bc152cbfa47


[ROCm/hip-tests commit: ad5b55a2c4]
2024-09-13 10:56:33 -04:00
Marko Arandjelovic 5621df00ef SWDEV-465205 - Fix Unit_hipModuleGetTexRef_Positive_Basic
Change-Id: I221f21b322ec6053edb4b4f229219865fb9e9974


[ROCm/hip-tests commit: d3f42460e8]
2024-08-26 13:41:57 -04:00
SrinivasaRao 7e49ea7a8b SWDEV-388834 - [catch2][dtest] Module tests migrated from direct to catch2
Change-Id: I9a3fbdd4e52bb69ab428b7cfcd478fa0382e7cc9


[ROCm/hip-tests commit: 304b0ac90b]
2024-08-22 23:39:12 -04:00
Rakesh Roy 28cd7da1dc SWDEV-472723 - Correct file format
- Modify line ending to LF

Change-Id: I2bc840070327b204e2abb118276e2d905c29d096


[ROCm/hip-tests commit: 3bec5e988b]
2024-08-05 19:26:31 +05:30
Rambabu Swargam 5a3c71aaea SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 1
Change-Id: I1da8b0d32f5ae49602b9ff062dc888cc6227b88f


[ROCm/hip-tests commit: 6c35a8cb95]
2024-07-31 12:06:23 -04:00
Rambabu Swargam ac0795fe28 SWDEV-433563 - [catch2][dtest] Functional testcases for hipGetFuncBySymbol API
Change-Id: Ic1bcfe35d124da990e6f1868475ba2ed1752b1d5


[ROCm/hip-tests commit: 73ccc66ca2]
2024-05-06 06:56:41 -04:00
Anusha GodavarthySurya 86f5c107fb SWDEV-448562 - [catch2][dtest] Basic functional and negative testcases for hipHccModuleLaunchKernel API
Change-Id: I77a7101915a6e2c431508edbd997e714f85a7ac4


[ROCm/hip-tests commit: 27d173286c]
2024-05-06 06:53:23 -04:00
Marko Arandjelovic d00346db7b SWDEV-452296 - Unit_hipExtModuleLaunchKernel_Positive_Basic removed
- No guarantees it will always succeed,
   could be a little early or late due to various reasons.

Change-Id: Id4c45555f9f5e05df8fdf0ad39da4c33ac16fcb9


[ROCm/hip-tests commit: ca5e061bf6]
2024-04-18 03:27:54 -04:00
Jaydeep Patel c6bf27e246 SWDEV-453487 - Check if image is supported for hipModuleGetTexRef.
Change-Id: I7eadf6997f8f8363e449c590763e0c20b5b26ff7


[ROCm/hip-tests commit: 821d66bd52]
2024-04-17 11:50:27 -04:00
Satyanvesh Dittakavi c52ea5a129 SWDEV-444021 - Add unit test for hipGetFuncBySymbol
Change-Id: Ie349ce7a8a8470a3ffff21d62f62c19d6e56ad0f


[ROCm/hip-tests commit: bd8fe4133b]
2024-04-15 13:22:22 -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
Rakesh Roy 8fc1292bc2 SWDEV-1 - Merge github PRs to amd-staging
Change-Id: I2944a63ddc2eec8dc1403d9790ffffbaec343385


[ROCm/hip-tests commit: 57bc68acb1]
2024-03-06 00:12:20 +05:30
Ajay d220fd894b SWDEV-441112 - nvidia build failures.
Use hip-path instead of rocm-path.
Issue only seen with custom hip-path

Change-Id: I5981dcedbce2b0e61da0d05d725b5ae4640cf6ac


[ROCm/hip-tests commit: 010f4bb0b0]
2024-03-01 12:17:29 -05:00
Mirza Halilčević 895d2db3aa EXSWHTEC-118 - Implement tests for hipFuncGetAttribute #61
Change-Id: Ie817859ef51701a3758dd44736e947c5b20c2d46


[ROCm/hip-tests commit: 34da562ff5]
2024-02-27 22:43:32 +05:30
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 Halilčević bb08c70c4e EXSWHTEC-350 - Implement tests for hipModuleLaunchCooperativeKernel #429
Change-Id: I42342c7d4cceed67990f603cd83473fe76e7f856


[ROCm/hip-tests commit: 303836a7fd]
2024-02-27 12:11:52 +05:30
Rakesh Roy fa871e211f SWDEV-1 - Merge github PRs to amd-staging
- https://github.com/ROCm/hip-tests/pull/119
- https://github.com/ROCm/hip-tests/pull/151
- https://github.com/ROCm/hip-tests/pull/57
- https://github.com/ROCm/hip-tests/pull/58
- https://github.com/ROCm/hip-tests/pull/59
- https://github.com/ROCm/hip-tests/pull/60
- https://github.com/ROCm/hip-tests/pull/99
- https://github.com/ROCm/hip-tests/pull/139
- https://github.com/ROCm/hip-tests/pull/152
- https://github.com/ROCm/hip-tests/pull/48
- https://github.com/ROCm/hip-tests/pull/54
- https://github.com/ROCm/hip-tests/pull/53
- https://github.com/ROCm/hip-tests/pull/24
- https://github.com/ROCm/hip-tests/pull/23
- https://github.com/ROCm/hip-tests/pull/22
- https://github.com/ROCm/hip-tests/pull/21
- https://github.com/ROCm/hip-tests/pull/20
- https://github.com/ROCm/hip-tests/pull/14
- https://github.com/ROCm/hip-tests/pull/8

Change-Id: I1eea54cd1436f3ddbfd5c1b3b2f672eb81d03cd4


[ROCm/hip-tests commit: 96df1fde80]
2024-02-23 20:42:03 +05:30
Mirza Halilcevic d30d6a5a62 EXSWHTEC-113 - Implement tests for hipModuleGetTexRef #24
Change-Id: I5fe18f2ca977a740e29dda356b68ea4eb6e0565f


[ROCm/hip-tests commit: 72aa591328]
2024-02-19 22:57:08 +05:30
Mirza Halilcevic de6db48460 EXSWHTEC-80 - Implement tests for hipModuleGetGlobal #23
Change-Id: I873ef5c977ec252425b81e3ed7ea33c861277efb


[ROCm/hip-tests commit: ce7e67ac39]
2024-02-19 22:56:44 +05:30
Mirza Halilcevic b2f572d4a7 EXSWHTEC-111 - Implement tests for the hipModuleLaunchKernel family of APIs #22
Change-Id: I963e17c413eb0976a1073e2f02a7e5eff1db3b42


[ROCm/hip-tests commit: e7016b99ce]
2024-02-19 22:55:17 +05:30
Mirza Halilčević b1e2ab3345 EXSWHTEC-112 - Implement tests for hipModuleGetFunction #21
Change-Id: Id0eee32b3f330c8d9156df30d3b0733082a6ba0a


[ROCm/hip-tests commit: d143e4c486]
2024-02-19 22:54:39 +05:30
Mirza Halilcevic 25d0b68640 EXSWHTEC-109 - Implement tests for the hipModuleLoad family of APIs and hipModuleUnload #20
Change-Id: I19d6534af2c33046dc3862372d45f32b6ccc6ad1


[ROCm/hip-tests commit: 2c6d940ac0]
2024-02-19 22:54:02 +05:30