Commit Graph

45 Commits

Author SHA1 Message Date
Deshpande, Chinmay Diwakar 1c366ee950 SWDEV-532676 - Fix hipcc flags for catch tests (#191)
Co-authored-by: Chinmay Deshpande <chdeshpa@amd.com>
2025-06-24 21:42:11 -07:00
Manocha, Rahul b215381bbe SWDEV-538600 - Fix error code checks in some tests (#305) 2025-06-19 21:11:54 +05:30
Gollamandala, Srinivasarao 60b3aae3c0 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
2025-06-03 14:37:25 +05:30
Belton-Schure, Aidan ef6c95f6ce 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>
2025-05-29 21:38:20 +05:30
Manocha, Rahul ea8a7e1e54 SWDEV-460098 - Fix error codes for hipLaunchKernel APIs to match cuda (#206)
Co-authored-by: Branislav Brzak <branislav.brzak@amd.com>
2025-05-29 13:20:49 +05:30
Dittakavi, Satyanvesh 1be3aa8283 SWDEV-508973 - Fix the catch tests failures due to change in kernel validation error codes to match CUDA (#198) 2025-05-26 18:41:58 +05:30
Sang, Tao 5a33b33ec8 SWDEV-508863 - Add generic target in compressed fatbin test (#28)
Change-Id: Iae148c3c998b18247624938512918dbb31bc462d
2025-05-13 09:34:30 -04:00
Xie, Pengda 0c1a7bf155 SWDEV-514841 - Remove invalid stream tests on AMD platform 2025-05-08 16:25:23 -07:00
taosang2 f581518103 SWDEV-447973 - Add generic target codeobj test
Add simple tests to verify generic target code
objects.

Change-Id: Iae148c3c938b18247624938512918dbb3cbc462e
2025-03-10 17:45:14 -04:00
Jaydeep Patel c0fc5426e5 SWDEV-511890 - Use max grid dim from device prop like block dim in checking for corner cases.
Change-Id: I557c70186b4a695b7c151952bf8cfd8dae54eb20
2025-03-10 00:55:15 -04:00
Marko Arandjelovic 293ff3a025 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
2025-03-04 13:08:30 -05:00
Jaydeep Patel 192528c7f2 SWDEV-465220 - Update Kernel Launch negative cases to match with current CLR code.
Change-Id: I891544cdfdc1092467454189ea348f986fc12818
2025-03-03 10:48:18 -05:00
Marko Arandjelovic cddb658314 SWDEV-504084 - Added multidevice testcases for hipModuleGetFunction/Global
Change-Id: I53d6d63f93c800efa2ec0ff2be5ae593756549e0
2025-02-13 12:52:35 -05:00
Ajay 6059eaa7c1 SWDEV-465215 - fixes for hipFuncGetAttribute tests
Fixes SWDEV-465215, SWDEV-465213, SWDEV-465212

Change-Id: I08b114bf647366abcf900d6b2a17f77ca608fc46
2025-01-24 16:08:09 -05:00
Rambabu Swargam 7fb9301d6b SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 2
Change-Id: I4619f8e69b75d1193e98adce2707bf7876b1ba59
2025-01-21 12:53:28 -05:00
Marko Arandjelovic 9cffda4ebb 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
2024-12-10 10:25:08 -05:00
taosang2 6e1c4c2655 SWDEV-459479 - Add compressed codeobj test
Add simple tests to verify compressed code
objects.

Change-Id: Iae148c3c928e18247624937512918dbb3cbc462d
2024-11-26 12:14:15 -05:00
Rahul Manocha dcc3dd7029 SWDEV-486443 - Skip managed memory test for windows
Change-Id: Id2d99c80e73979173ff7558bedafa723a1eec813
2024-11-19 23:29:17 -05:00
Michael Xie 72450ae7a1 SWDEV-492356 - Install hip-test artifacts into a single folder
Change-Id: Ib2a2c021e2546c0233050f11d3dc84f2ea4ff03d
2024-11-13 18:22:32 -05:00
Jaydeep Patel 23eead4e7b SWDEV-482400 - Use correct way to add delay/wait on GPU.
Change-Id: Id1610227c97cc43d289f8c3a04c0c53707ccef48
2024-11-04 12:07:52 -05:00
Jaydeep Patel 87c8a0417c SWDEV-481514, SWDEV-482400 - Use correct way to add delay/wait on GPU.
Change-Id: I163896333bf741053173d636a499ed6406e77a09
2024-10-23 14:39:35 -04:00
Marko Arandjelovic ad5b55a2c4 SWDEV-465204 - Fix Unit_hipModuleLaunchKernel_Negative_Parameters
Change-Id: I754d1835366f131f44d56da05ac24bc152cbfa47
2024-09-13 10:56:33 -04:00
Marko Arandjelovic d3f42460e8 SWDEV-465205 - Fix Unit_hipModuleGetTexRef_Positive_Basic
Change-Id: I221f21b322ec6053edb4b4f229219865fb9e9974
2024-08-26 13:41:57 -04:00
SrinivasaRao 304b0ac90b SWDEV-388834 - [catch2][dtest] Module tests migrated from direct to catch2
Change-Id: I9a3fbdd4e52bb69ab428b7cfcd478fa0382e7cc9
2024-08-22 23:39:12 -04:00
Rakesh Roy 3bec5e988b SWDEV-472723 - Correct file format
- Modify line ending to LF

Change-Id: I2bc840070327b204e2abb118276e2d905c29d096
2024-08-05 19:26:31 +05:30
Rambabu Swargam 6c35a8cb95 SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 1
Change-Id: I1da8b0d32f5ae49602b9ff062dc888cc6227b88f
2024-07-31 12:06:23 -04:00
Rambabu Swargam 73ccc66ca2 SWDEV-433563 - [catch2][dtest] Functional testcases for hipGetFuncBySymbol API
Change-Id: Ic1bcfe35d124da990e6f1868475ba2ed1752b1d5
2024-05-06 06:56:41 -04:00
Anusha GodavarthySurya 27d173286c SWDEV-448562 - [catch2][dtest] Basic functional and negative testcases for hipHccModuleLaunchKernel API
Change-Id: I77a7101915a6e2c431508edbd997e714f85a7ac4
2024-05-06 06:53:23 -04:00
Marko Arandjelovic ca5e061bf6 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
2024-04-18 03:27:54 -04:00
Jaydeep Patel 821d66bd52 SWDEV-453487 - Check if image is supported for hipModuleGetTexRef.
Change-Id: I7eadf6997f8f8363e449c590763e0c20b5b26ff7
2024-04-17 11:50:27 -04:00
Satyanvesh Dittakavi bd8fe4133b SWDEV-444021 - Add unit test for hipGetFuncBySymbol
Change-Id: Ie349ce7a8a8470a3ffff21d62f62c19d6e56ad0f
2024-04-15 13:22:22 -04:00
Branislav Brzak 6c23e25c86 SWDEV-448163 - Fix Doxygen warnings
Change-Id: If72e312461a72920b6a482009c9aef4cf92f2e1b
2024-03-25 05:18:34 -04:00
Rakesh Roy 57bc68acb1 SWDEV-1 - Merge github PRs to amd-staging
Change-Id: I2944a63ddc2eec8dc1403d9790ffffbaec343385
2024-03-06 00:12:20 +05:30
Ajay 010f4bb0b0 SWDEV-441112 - nvidia build failures.
Use hip-path instead of rocm-path.
Issue only seen with custom hip-path

Change-Id: I5981dcedbce2b0e61da0d05d725b5ae4640cf6ac
2024-03-01 12:17:29 -05:00
Mirza Halilčević 34da562ff5 EXSWHTEC-118 - Implement tests for hipFuncGetAttribute #61
Change-Id: Ie817859ef51701a3758dd44736e947c5b20c2d46
2024-02-27 22:43:32 +05:30
Mirza Halilcevic dc78fafa49 EXSWHTEC-384 - Coverage Tool and Test Plan update #455
Change-Id: Idf52308186a73ae1c4d815eb59f20ea7da99c964
2024-02-27 22:26:25 +05:30
Mirza Halilčević 303836a7fd EXSWHTEC-350 - Implement tests for hipModuleLaunchCooperativeKernel #429
Change-Id: I42342c7d4cceed67990f603cd83473fe76e7f856
2024-02-27 12:11:52 +05:30
Rakesh Roy 96df1fde80 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
2024-02-23 20:42:03 +05:30
Mirza Halilcevic 72aa591328 EXSWHTEC-113 - Implement tests for hipModuleGetTexRef #24
Change-Id: I5fe18f2ca977a740e29dda356b68ea4eb6e0565f
2024-02-19 22:57:08 +05:30
Mirza Halilcevic ce7e67ac39 EXSWHTEC-80 - Implement tests for hipModuleGetGlobal #23
Change-Id: I873ef5c977ec252425b81e3ed7ea33c861277efb
2024-02-19 22:56:44 +05:30
Mirza Halilcevic e7016b99ce EXSWHTEC-111 - Implement tests for the hipModuleLaunchKernel family of APIs #22
Change-Id: I963e17c413eb0976a1073e2f02a7e5eff1db3b42
2024-02-19 22:55:17 +05:30
Mirza Halilčević d143e4c486 EXSWHTEC-112 - Implement tests for hipModuleGetFunction #21
Change-Id: Id0eee32b3f330c8d9156df30d3b0733082a6ba0a
2024-02-19 22:54:39 +05:30
Mirza Halilcevic 2c6d940ac0 EXSWHTEC-109 - Implement tests for the hipModuleLoad family of APIs and hipModuleUnload #20
Change-Id: I19d6534af2c33046dc3862372d45f32b6ccc6ad1
2024-02-19 22:54:02 +05:30
Rupam Chetia 4d36246849 SWDEV-423176 - [catch2][dtest] Adding a test case for kernOrg Optimization feature
Change-Id: Iaa3215c96967c924c3da319cdb47a8e85d21e112
2023-11-06 09:17:46 -05:00
ROCm CI Service Account dce969d702 SWDEV-404445 - [catch2][dtest] Adding test cases for uniform/non-uniform workgroup feature (#355)
Change-Id: I6d0764c1a42e08034158b9138695fee7bdc3f93e
2023-07-08 20:56:17 +05:30