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
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
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
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
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
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
Marko Arandjelovic
3481fe67d1
SWDEV-454656 Correct test setup, Unit_hipGraphExecMemcpyNodeSetParams_Positive_Basic
...
Pitch cannot be lower then width
Change-Id: I929672fad4ca62d21ffd7bfec8bbc837e7bbcee2
[ROCm/hip-tests commit: 6867852a89 ]
2024-09-17 11:57:29 -04:00
Marko Arandjelovic
5cc4ae3555
SWDEV-454659 - Correct test setup, Unit_hipGraphExecMemcpyNodeSetParams_Negative_Parameters
...
Pitch cannot be lower then width
Change-Id: Ib42f036f1158b500ce8892643178469a2ec7dc88
[ROCm/hip-tests commit: 27be56f329 ]
2024-09-13 10:48:14 -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
Branislav Brzak
f9bb3c5f74
SWDEV-441600 - Add hipGraphMemFreeNodeGetParams tests
...
Change-Id: I46cc12e9940cf647e3c3dbe4ce87957eb8aa4e33
[ROCm/hip-tests commit: 2b20d3a9af ]
2024-08-01 14:26:32 -04:00
Marko Arandjelovic
fb7d2b3d06
SWDEV-454663 Initialize graph node in test setup
...
Change-Id: Iad44a2d3276e54c7a7d7e58af13e41ff305aa122
[ROCm/hip-tests commit: be2ee3b52d ]
2024-07-31 14:45:08 -04:00
Jatin Chaudhary
b1f4db2de8
SWDEV-460387 - Use traditional malloc instead of alloc guard
...
The LinearGuard does not seem to play well with the catch macros.
The entry to device pointers seem to be lost from memory map.
Change-Id: Ib8549052f18bcc847dea25cf268e2bcb59e24b25
[ROCm/hip-tests commit: 8ed0c39549 ]
2024-07-30 14:34:15 -04:00
taosang2
2a9aa0a14c
SWDEV-469331 - Add data verifing after stream sync.
...
Add data verifing after hipStreamSynchronize() call.
Enable the following in Linux
Unit_hipStreamBeginCaptureToGraph_CaptureDepGraph
Unit_hipStreamBeginCaptureToGraph_IndepGraphsThreads
Remove REQUIRE() in data verifying because it generates
too many assertions and makes "-s" very slow
Change-Id: I0fbcdaa9ffb9633d861312c221ac12df1772c6e5
[ROCm/hip-tests commit: 6edae64a1e ]
2024-07-30 11:50:16 -04:00
Rahul Manocha
2811e8e349
[SWDEV-454655] - Fix for ExecMempcyNodeSetParams1D Negative testcase
...
Change-Id: Id24e27fee7a519edeed28bd937fb7ca31195de97
[ROCm/hip-tests commit: d391820895 ]
2024-07-25 14:37:59 -04:00
Vladana Stojiljkovic
5d51ecfd8b
SWDEV-456699 - Fix Unit_hipDrvGraphAddMemcpyNode_Negative_Parameters test case
...
Change-Id: Ia27362115bbf0e96a7eac5a5ae21c2d504419bc8
[ROCm/hip-tests commit: a3bc534a5f ]
2024-07-02 05:03:44 -04:00
Vladana Stojiljkovic
eb3fdb8a8a
SWDEV-454667 - Fix Unit_hipGraphAddNodeTypeEventWait_Positive_Basic test case
...
Change-Id: I68c6ce4d0622a7bcc5908f2901c568cbaa18c448
[ROCm/hip-tests commit: ee9da46aab ]
2024-07-01 10:40:21 +02:00
Rahul Manocha
b46f7c8f6a
[SWDEV-454661] - Test updates for memcpy direction change
...
Change-Id: I4065595f92abc101ce54fa587af874c1d6737033
[ROCm/hip-tests commit: 23259fb1c6 ]
2024-06-17 14:09:55 -04:00
Rupam Chetia
1fcc33f64e
SWDEV-441352 - [catch2][dtest] Added test for hipStreamBeginCaptureToGraph()
...
Change-Id: I026c34b2c3ff7494787a3e4fc7fb82973893b224
[ROCm/hip-tests commit: 936ec35b7f ]
2024-05-14 23:51:10 -04:00
German Andryeyev
955adddd63
SWDEV-440746 - Correct data size for query
...
Size query for hipDeviceGetGraphMemAttribute or
hipDeviceSetGraphMemAttribute has to use size_t type or uint64_t
Change-Id: I4ba38555d805fde03a8cd3ea7aaac7b0f99d1301
[ROCm/hip-tests commit: 7710255a8c ]
2024-05-14 11:32:38 -04:00
Rahul Manocha
bca0baebc2
[SWDEV-454665][SWDEV-454678] - check image support for hipGraphclone test
...
Change-Id: I09de0bb5254b51874c563ddc1cd6ef83ab717928
[ROCm/hip-tests commit: 3ea71945f2 ]
2024-05-13 14:00:06 -04:00
German Andryeyev
e61e3918dc
SWDEV-353281 - Correct mempool graph test
...
The new logic requires VM mode
Change-Id: Ia15bb63674880a82a28b75e809c75a04aa16b4ac
[ROCm/hip-tests commit: a2e4b0d3be ]
2024-04-25 11:18:42 -04:00
Rahul Manocha
db31f0fc43
[SWDEV-454661][SWDEV-454653] - Enable GraphExecMemcpyNodeSetParams memcpy direction testcases
...
Change-Id: Ib0f5fc4fe450b1d79325446f284cc7b1b49c6cae
[ROCm/hip-tests commit: 1db5d468fe ]
2024-04-23 17:09:54 -04:00
Anusha GodavarthySurya
efe3b8f000
SWDEV-436126 - Enable unit tests for AMD platform
...
Change-Id: Ic76afca7c966a3b237175effccb02903808e9805
[ROCm/hip-tests commit: 24aac9da77 ]
2024-04-19 08:32:36 -04:00
Rupam Chetia
afe19c1b3e
SWDEV-306122 - [catch2][dtest] Added test for hipDeviceGetGraphMemAttribute, hipDeviceSetGraphMemAttribute and hipDeviceGraphMemTrim API
...
Change-Id: I1e08ecc91ef83bcc0cbb62397187d0eee2d98037
[ROCm/hip-tests commit: 20929e0b82 ]
2024-04-15 23:42:48 -04:00
Anusha GodavarthySurya
8b89aab0d4
SWDEV-436126 - Fix Unit_hipStreamBeginCapture_StreamSync_OngoingCapture_MThread global mode
...
Change-Id: I766ff33485a49df98380cfc8a17bbd9db7548faa
[ROCm/hip-tests commit: 3641ca591c ]
2024-03-28 06:14:19 +00: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
Jaydeep Patel
49a7085d38
SWDEV-444265 - No need to add delay.
...
As sync between stream is via event record, There
is no really need of having delay in GPU.
Change-Id: Iee835752395fff5bf380535643835f6da0a84b80
[ROCm/hip-tests commit: 598fa2e8a5 ]
2024-03-21 11:07:41 -04:00
Jatin Chaudhary
b60e8dca7c
SWDEV-446760 - add image check and skip failing tests
...
Change-Id: If4a135222ab755c23a4c0d00c29bea33744528a5
[ROCm/hip-tests commit: d0088ee34f ]
2024-03-21 06:16:45 -04:00
Jaydeep Patel
fed7008230
SWDEV-448989 - Check image support.
...
Change-Id: Id245c3f348c6c7b4146224f93534443f93a01a9d
[ROCm/hip-tests commit: bffc913f8c ]
2024-03-19 11:59:52 -04:00
Rahul Manocha
83bc874993
SWDEV-421025 - Catch Tests for Graph Instantiate With Params
...
Change-Id: I2f2387e3c00807cad5a4a807e289aecc45368d8c
[ROCm/hip-tests commit: 7279e09b73 ]
2024-03-14 14:30:59 -04:00
Rupam Chetia
ff6a16be9e
SWDEV-436376 - [catch2][dtest] Adding new tests for hipMemcpyDeviceToDeviceNoCU
...
Change-Id: Ibe338af731a4f0e21d5c8def8ac125532b75969e
[ROCm/hip-tests commit: 0c11f5920f ]
2024-03-12 14:11:49 -04:00
mbhiutra
a291af23ba
SWDEV-431704 - [catch2][dtest] Added test case for HIPGraph Performance
...
Change-Id: Ia09b50cab74f154ac5a0005f27386da1875fbe38
[ROCm/hip-tests commit: 5c1bc4a4c3 ]
2024-03-08 12:22:37 -05: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
Nives Vukovic
60a36b5384
EXSWHTEC-383 - Implement tests for hipGraphAddNode API #456
...
Change-Id: I91762d23c4a05acc68463402e76cee4e26d27b57
[ROCm/hip-tests commit: 1e15bfca23 ]
2024-02-27 22:27:07 +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
Nives Vukovic
74299ca09d
EXSWHTEC-374 - Implement tests for Graph device memory APIs #452
...
Change-Id: Ic82e3cda60296ec7b2acb9b5755c51ccbdb85c8d
[ROCm/hip-tests commit: 27eeaa29a7 ]
2024-02-27 16:54:09 +05:30
Nives Vukovic
ad4d04fa88
EXSWHTEC-371 - Implement tests for the hipDrvGraphAddMemsetNode API #447
...
Change-Id: I981e14f34b008054d46e61ebae0099792df446b1
[ROCm/hip-tests commit: 63c93f95a8 ]
2024-02-27 12:30:54 +05:30
Nives Vukovic
f44575fb94
EXSWHTEC-370 - Implement tests for the hipDrvGraph*MemcpyNode APIs #446
...
Change-Id: I956dc06157324e9d6971348a70b600c4a9105538
[ROCm/hip-tests commit: 6f9f5c07fe ]
2024-02-27 12:29:28 +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
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 Halilčević
4194470cd6
EXSWHTEC-217 - Implement new and update existing tests for the hipGraph*MemcpyNode family of APIs #48
...
Change-Id: Iae7ac9c855ba6e3288257e99e49f8b16cebb1bac
[ROCm/hip-tests commit: cefbaed5cf ]
2024-02-19 22:58:36 +05:30
Mirza Halilčević
6931cb5bfd
EXSWHTEC-189 - Implement new and update existing tests for the hipGraph*MemcpyNode1D family of APIs #14
...
Change-Id: I0f5e936fee6912ea24cc80c1013cf38ed41ff851
[ROCm/hip-tests commit: efddf09082 ]
2024-02-19 22:36:19 +05:30
Mirza Halilčević
dfda77be9c
EXSWHTEC-170 - Implement tests for Kernel Graph Node Attribute APIs #8
...
Change-Id: I75271f0d1906d31b16d09ca6acb94ee864e87d92
[ROCm/hip-tests commit: 55b925f3ff ]
2024-02-19 22:34:58 +05:30
Nives Vukovic
f434246982
EXSWHTEC-340 - Implement unit tests for MemFree Graph Node APIs ( #424 )
...
Change-Id: I3e43144bdbeee94aa5672668d7fea48b039e5001
[ROCm/hip-tests commit: 3831c582d2 ]
2024-02-15 19:41:24 +05:30
Nives Vukovic
6e5ef40db9
EXSWHTEC-339 - Implement unit tests for MemAlloc Graph Node APIs ( #423 )
...
Change-Id: I6fa905982fc5a65bedfb3242ce18590e2ac813c2
[ROCm/hip-tests commit: 37f45585d2 ]
2024-02-15 19:41:24 +05:30
Jaydeep Patel
5c43230f79
SWDEV-401781 - Enhance test case.
...
Change-Id: I47074cc972512ac1b699ed4fc9386d470fae1c61
[ROCm/hip-tests commit: 8993dd87ef ]
2024-02-14 06:22:09 -05:00
mbhiutra
1ef0dab312
SWDEV-432851 - [catch2][dtest] Add test for hipDrvGraphAddMemcpyNode
...
Change-Id: Ie2738eecafafa980efe4c33e10426febcf7a6cbd
[ROCm/hip-tests commit: e1aa13c4d4 ]
2024-02-12 22:32:33 -05:00
Ajay
3f986eceb2
SWDEV-441112 - fix hip-tests catch build on nvidia platform
...
hip/hip_runtime.h path was not used correctly in some tests
Change-Id: I1a3f5fba352273ce366404f398bb5c2f7d6f283f
[ROCm/hip-tests commit: 1d9aadbf92 ]
2024-01-17 11:34:53 -05:00
Nives Vukovic
bb352913bb
EXSWHTEC-178 - Implement tests for Graph Event Node APIs #44
...
Change-Id: Id3f569d94d347af2f5e27513fa01c5a1e8e30fd9
[ROCm/hip-tests commit: 575e4cc93e ]
2023-12-20 10:22:01 +00:00
Nives Vukovic
639ba1e5f3
EXSWHTEC-172 - Hip graph launching and execution tests #36
...
Change-Id: I2cfadf6335a582f593191860d5084cb79fa411b3
[ROCm/hip-tests commit: 133521b22f ]
2023-12-20 10:22:01 +00:00