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
Jatin Chaudhary
d9482cf69c
SWDEV-486137 - Add tests for *hadd*
...
Change-Id: I60839bce25ac57947bda1eab9c49941c53ace7cd
[ROCm/hip-tests commit: 7bb49582db ]
2024-12-10 04:32:45 -05:00
Branislav Brzak
be67fb0fdf
SWDEV-441986 - Create tests for divergent execution of warp_sync builtins
...
Change-Id: If9ce0bdb0974732b692c779c7cae5527cec2fc83
[ROCm/hip-tests commit: 3a20cff19b ]
2024-12-10 04:15:11 -05:00
Marko Arandjelovic
625c30fdf7
SWDEV-477070 - Add unit test for hipTexRefGetArray
...
Change-Id: Ifa4c62d926dd15ce8379b9899ca81d3a39595c8e
[ROCm/hip-tests commit: 533db3b042 ]
2024-12-10 04:00:33 -05:00
Marko Arandjelovic
cee2f8215d
SWDEV-477740 - Add unit test for hipTexRefSetArray
...
Change-Id: I3bd2f9cd956260110e7e5cd6c982769c5752b7d8
[ROCm/hip-tests commit: b346582bff ]
2024-12-09 13:52:30 -05:00
SrinivasaRao
5ba5ca2934
SWDEV-490555-[catch2][dtest] Functional tests for the API hipMemcpyHtoAAsync
...
Change-Id: I927e0907e2e2fb8316151da5b3a5ba23835412e8
[ROCm/hip-tests commit: 16c33198ba ]
2024-12-09 13:49:05 -05:00
Rahul Manocha
05e52df05c
SWDEV-483107,SWDEV-492076,SWDEV-491371,SWDEV-484940 - hipStreamBeginCaptureToGraph catch exception fix
...
1) Catch Section should not be used inside host thread call.
Change-Id: I52c1bb80d6f92034dfbe2484d928e66eacf67d4c
[ROCm/hip-tests commit: decf563391 ]
2024-12-09 12:07:26 -05:00
Satyanvesh Dittakavi
9cad0a4d59
SWDEV-485372 - Fix texture catch tests to run on appropriate ASICs
...
Change-Id: I9ef93e37eb29c3d09c6448fe95dba39fa7060464
[ROCm/hip-tests commit: d5028f0c2a ]
2024-12-09 10:35:43 -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
Anusha GodavarthySurya
4957a7b5cd
SWDEV-485904 - Fix mem leak with Unit_hipMemSetAccess_negative
...
Change-Id: I6339ec290d901a6fc5cf33e33a71bf1b86f635ae
[ROCm/hip-tests commit: 984731b3ec ]
2024-12-09 03:51:09 -05:00
Ioannis Assiouras
12892960c2
SWDEV-474345 - Address potential segmentation fault in Print_Out_Attributes test
...
Change-Id: Ie507d3da66d9644eea56a510e76564af1970e2c0
[ROCm/hip-tests commit: e4077f827c ]
2024-12-05 04:52:04 -05:00
Branislav Brzak
5a54393835
SWDEV-489116 - Add missing hipFree to Unit_cg_binary_part
...
Change-Id: I1c2a8f21213d7e257e491d55714f0a2b77f6d1b3
[ROCm/hip-tests commit: b0599b7e4a ]
2024-12-05 04:41:28 -05:00
Branislav Brzak
633cd1179f
SWDEV-489117 - Add missing stream destry in Unit_hipCGMultiGridGroupType_Basic
...
Change-Id: Ic926da700e7c1933d105495306b94f302d130150
[ROCm/hip-tests commit: 09697ca260 ]
2024-12-05 04:37:35 -05:00
Marko Arandjelovic
232f8f47e1
SWDEV-473788 - Add unit test for hipBindTexture
...
Change-Id: Iefb695feb56cb70aff186eb719cbbd366297d91e
[ROCm/hip-tests commit: 18f69cba00 ]
2024-12-05 04:23:09 -05:00
Marko Arandjelovic
af278efe7d
SWDEV-478998 - Add unit test for hipFreeHost
...
Change-Id: I85235243e0014ec6bd2b6a544222fdee8f0a7c68
[ROCm/hip-tests commit: 8736cabea3 ]
2024-12-04 11:56:44 -05:00
Jaydeep Patel
1540f7db7f
SWDEV-487988 - Destroy event and free memory.
...
Change-Id: I95ceaac5b343132c0660de0dabba548fb6a29034
[ROCm/hip-tests commit: 80144befea ]
2024-12-04 10:07:59 -05:00
Jaydeep Patel
bb285f0d43
SWDEV-488033 - Add dependency between memcpy node for child graph.
...
Since 29cc678d8d H2D can't be synced always so it's good to have dependency set.
Change-Id: I7d757a9b6afd3cf7064dc3b7014677cdf754125a
[ROCm/hip-tests commit: 8515ac9b2f ]
2024-12-04 10:06:52 -05:00
Jaydeep Patel
6fd086821b
SWDEV-487997 - Kernel launch can return invalid config/value in case of thread/block is 0 & -ve.
...
Change-Id: I91fbe2361894f16c65236c9736bd677a6d5f1f61
[ROCm/hip-tests commit: 064d0398d8 ]
2024-12-04 10:06:36 -05:00
Jaydeep Patel
72534cd356
SWDEV-487992 - Free memory.
...
Change-Id: Ic4c7448d7e537953bcebc73210647f52de53b0ee
[ROCm/hip-tests commit: 0422d78c1b ]
2024-12-04 09:07:29 -05:00
Vladana Stojiljkovic
0c255ac97f
SWDEV-453145 - Enable _sync tests on nvidia
...
* _sync tests that use warp match functions (__match_any_sync and __match_all_sync) were disabled for nvidia because those functions are supported only on devices with compute capability 7.x or higher. In this solution, tests are always build (with specifying appropriate compile flag) and in in the runtime it is decided weather they should be skipped or not.
Change-Id: Ifa9e55f3b47aa3a00027cb986cd6ae46aed45ebd
[ROCm/hip-tests commit: 9893726343 ]
2024-12-03 13:49:16 -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
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
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
Satyanvesh Dittakavi
30d579a81b
SWDEV-487649 - SWDEV-487639 - SWDEV-487636 - Fix memory leaks in catch tests
...
Change-Id: I7943ecffec6d470789aabde07e6c52d6b871cc13
[ROCm/hip-tests commit: 9cf127697e ]
2024-11-26 01:55:39 -05:00
Ioannis Assiouras
569a4cac67
SWDEV-500124 - Removed Unit_hipHostAlloc_AllocateUseMoreThanAvailGPUMemory
...
Change-Id: I549ec451df2211378f421f35abc822d02cb0af24
[ROCm/hip-tests commit: ab395147d2 ]
2024-11-22 13:20:50 -05:00
Ioannis Assiouras
aff8088c47
SWDEV-492356 - Install artifacts needed by UUID tests at the top level directory
...
Change-Id: I960efecfdfc7a0c39a8beec6a334e6aa08095f9c
[ROCm/hip-tests commit: b06dda1f09 ]
2024-11-22 11:02:23 +00:00
Rahul Manocha
572eb13c5c
SWDEV-454316 - Fix for Atomic Min Max Testcases
...
Change-Id: Ieca965e6e17f4b17769938228340791b9bbe45ab
[ROCm/hip-tests commit: 0c230d3cf0 ]
2024-11-19 23:32:30 -05:00
Rahul Manocha
b56373fe04
SWDEV-488316 - Fix memleaks in PrintfTests
...
Change-Id: I53e392ac41023a108874d5c58633b53f7b7b0007
[ROCm/hip-tests commit: 5dcd005d33 ]
2024-11-19 23:30:35 -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
Rahul Manocha
d0d4027db9
SWDEV-479575 - Child Graph dependencies fixed
...
Change-Id: Iaf2d8f0ae86e6a701d10f5867b742036392e5a43
[ROCm/hip-tests commit: ed5b962e62 ]
2024-11-19 23:27:30 -05:00
Rahul Manocha
2172f9e961
SWDEV-454895 - Fix for Atomic Memory Order testcase failures
...
Change-Id: I66f92b57527c364b18a695bc9475f4c3432e742b
[ROCm/hip-tests commit: 5672b0d380 ]
2024-11-19 23:26:20 -05:00
SrinivasaRao
2f2e5fb958
SWDEV-475134-[catch2][dtest] Functional graph tests for hipUserObject
...
Change-Id: If4dbe6a3cc6a929e2e4a9521f05dfa2836f0855b
[ROCm/hip-tests commit: 68cc5bdd6e ]
2024-11-18 04:58:40 -05:00
Satyanvesh Dittakavi
964df84367
SWDEV-498067 - Fix catch tests build failure on nvidia
...
Change-Id: Idbaa78407f95749b4ae645a52d086056edea4715
[ROCm/hip-tests commit: adf2a4c586 ]
2024-11-18 04:48:39 -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
SrinivasaRao
90cfd75650
SWDEV-467848-[catch2][dtest] Functional tests for HIP_VISIBLE_DEVICES compatibility with UUIDs
...
Change-Id: I45eccecee2fd9fdb157be46fad2a37e675acd19c
[ROCm/hip-tests commit: 7348d05b1d ]
2024-11-15 07:08:15 -05:00
Pradeep Kumar Jain
9592dfe6f1
SWDEV-468258 - [catch2][dtest] hipHostAlloc API testcases
...
Change-Id: I04974538092ae90501f7fa90dcad09c482b1ef64
[ROCm/hip-tests commit: 33cbbc8700 ]
2024-11-14 23:50:44 -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
Ioannis Assiouras
bca7f67a2f
SWDEV-487632,SWDEV-487634 - Fixed memleak in Unit_hipDrvMemcpy_Functional
...
Change-Id: If515c0f31acb5ca071f575458ef9eb06c5786df2
[ROCm/hip-tests commit: e248f1072a ]
2024-11-13 07:06:19 -05:00
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
Ioannis Assiouras
7d8eb4adb8
SWDEV-483134 - Removed hipExtHostAlloc tests
...
Change-Id: Ifb938ad6d8382cfe25d531e5e36c5a4df986d940
[ROCm/hip-tests commit: b2e3b605a6 ]
2024-11-06 11:28:37 -05:00
Vladana Stojiljkovic
353bb4ac4d
SWDEV-479312 - Implement tests for hipMemcpy2DArrayToArray
...
Change-Id: Id42557aefa0a887799402503c8905ee4cd322629
[ROCm/hip-tests commit: 558cbfd829 ]
2024-11-05 04:06:26 -05:00
Vladana Stojiljkovic
f6f7b7cf9c
SWDEV-478205 - Implement tests for hipTexRefSetMaxAnisotropy
...
Change-Id: I0ef580ea9be685ab83c9ee29193eae4aa0813d3a
[ROCm/hip-tests commit: e53b31db23 ]
2024-11-05 02:47:37 -05:00
Marko Arandjelovic
712ee64a1a
SWDEV-478801 - Add unit test for hipMemcpyDtoA
...
Change-Id: Ia0f606294574c43b5e84438a33eda4c43bd0acbc
[ROCm/hip-tests commit: 04ad40156c ]
2024-11-05 02:40:33 -05:00
Marko Arandjelovic
a02d7f921d
SWDEV-479213 - Add unit test for hipMemcpyHtoAAsync
...
Change-Id: I698eb2f7b73db439c1082ef79e2e5b5462e8fd1e
[ROCm/hip-tests commit: 003707116b ]
2024-11-04 12:43:54 -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
Vladana Stojiljkovic
5e41c48966
SWDEV-478472 - Fix tests to return hipErrorInvalidChannelDescriptor instead of hipErrorUnknown
...
Change-Id: I1dc3af072aed813173cc12e9976a34ddf8c7d6a8
[ROCm/hip-tests commit: 5fa9900949 ]
2024-11-04 11:25:54 -05:00
Jaydeep Patel
9e080a303c
SWDEV-483355 - hipDrvMemcpy2DUnaligned is not supported for inter GPU copy without p2p access.
...
Change-Id: Ie484efc5779b139e5ca2d504342fb49edfb6b30c
[ROCm/hip-tests commit: 7aff6567b7 ]
2024-11-04 11:23:39 -05:00
Jaydeep Patel
c442ee3990
SWDEV-479616 - hipMemcpyParam2D and hipMemcpy2D does not support inter gpu copy without p2p access.
...
Skip Unit_hipGetProcAddress_MemoryApisPeerToPeer if p2p access is not supported.
Change-Id: I9f8598b9d1edf1d189583c5600b2e4d937564ea4
[ROCm/hip-tests commit: 067e3836ee ]
2024-11-04 11:18:58 -05:00