Commit Graph

187 Commitit

Tekijä SHA1 Viesti Päivämäärä
Marko Arandjelovic 27be56f329 SWDEV-454659 - Correct test setup, Unit_hipGraphExecMemcpyNodeSetParams_Negative_Parameters
Pitch cannot be lower then width

Change-Id: Ib42f036f1158b500ce8892643178469a2ec7dc88
2024-09-13 10:48:14 -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
Branislav Brzak 2b20d3a9af SWDEV-441600 - Add hipGraphMemFreeNodeGetParams tests
Change-Id: I46cc12e9940cf647e3c3dbe4ce87957eb8aa4e33
2024-08-01 14:26:32 -04:00
Marko Arandjelovic be2ee3b52d SWDEV-454663 Initialize graph node in test setup
Change-Id: Iad44a2d3276e54c7a7d7e58af13e41ff305aa122
2024-07-31 14:45:08 -04:00
Jatin Chaudhary 8ed0c39549 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
2024-07-30 14:34:15 -04:00
taosang2 6edae64a1e 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
2024-07-30 11:50:16 -04:00
Rahul Manocha d391820895 [SWDEV-454655] - Fix for ExecMempcyNodeSetParams1D Negative testcase
Change-Id: Id24e27fee7a519edeed28bd937fb7ca31195de97
2024-07-25 14:37:59 -04:00
Vladana Stojiljkovic a3bc534a5f SWDEV-456699 - Fix Unit_hipDrvGraphAddMemcpyNode_Negative_Parameters test case
Change-Id: Ia27362115bbf0e96a7eac5a5ae21c2d504419bc8
2024-07-02 05:03:44 -04:00
Vladana Stojiljkovic ee9da46aab SWDEV-454667 - Fix Unit_hipGraphAddNodeTypeEventWait_Positive_Basic test case
Change-Id: I68c6ce4d0622a7bcc5908f2901c568cbaa18c448
2024-07-01 10:40:21 +02:00
Rahul Manocha 23259fb1c6 [SWDEV-454661] - Test updates for memcpy direction change
Change-Id: I4065595f92abc101ce54fa587af874c1d6737033
2024-06-17 14:09:55 -04:00
Rupam Chetia 936ec35b7f SWDEV-441352 - [catch2][dtest] Added test for hipStreamBeginCaptureToGraph()
Change-Id: I026c34b2c3ff7494787a3e4fc7fb82973893b224
2024-05-14 23:51:10 -04:00
German Andryeyev 7710255a8c 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
2024-05-14 11:32:38 -04:00
Rahul Manocha 3ea71945f2 [SWDEV-454665][SWDEV-454678] - check image support for hipGraphclone test
Change-Id: I09de0bb5254b51874c563ddc1cd6ef83ab717928
2024-05-13 14:00:06 -04:00
German Andryeyev a2e4b0d3be SWDEV-353281 - Correct mempool graph test
The new logic requires VM mode

Change-Id: Ia15bb63674880a82a28b75e809c75a04aa16b4ac
2024-04-25 11:18:42 -04:00
Rahul Manocha 1db5d468fe [SWDEV-454661][SWDEV-454653] - Enable GraphExecMemcpyNodeSetParams memcpy direction testcases
Change-Id: Ib0f5fc4fe450b1d79325446f284cc7b1b49c6cae
2024-04-23 17:09:54 -04:00
Anusha GodavarthySurya 24aac9da77 SWDEV-436126 - Enable unit tests for AMD platform
Change-Id: Ic76afca7c966a3b237175effccb02903808e9805
2024-04-19 08:32:36 -04:00
Rupam Chetia 20929e0b82 SWDEV-306122 - [catch2][dtest] Added test for hipDeviceGetGraphMemAttribute, hipDeviceSetGraphMemAttribute and hipDeviceGraphMemTrim API
Change-Id: I1e08ecc91ef83bcc0cbb62397187d0eee2d98037
2024-04-15 23:42:48 -04:00
Anusha GodavarthySurya 3641ca591c SWDEV-436126 - Fix Unit_hipStreamBeginCapture_StreamSync_OngoingCapture_MThread global mode
Change-Id: I766ff33485a49df98380cfc8a17bbd9db7548faa
2024-03-28 06:14:19 +00:00
Branislav Brzak 6c23e25c86 SWDEV-448163 - Fix Doxygen warnings
Change-Id: If72e312461a72920b6a482009c9aef4cf92f2e1b
2024-03-25 05:18:34 -04:00
Jaydeep Patel 598fa2e8a5 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
2024-03-21 11:07:41 -04:00
Jatin Chaudhary d0088ee34f SWDEV-446760 - add image check and skip failing tests
Change-Id: If4a135222ab755c23a4c0d00c29bea33744528a5
2024-03-21 06:16:45 -04:00
Jaydeep Patel bffc913f8c SWDEV-448989 - Check image support.
Change-Id: Id245c3f348c6c7b4146224f93534443f93a01a9d
2024-03-19 11:59:52 -04:00
Rahul Manocha 7279e09b73 SWDEV-421025 - Catch Tests for Graph Instantiate With Params
Change-Id: I2f2387e3c00807cad5a4a807e289aecc45368d8c
2024-03-14 14:30:59 -04:00
Rupam Chetia 0c11f5920f SWDEV-436376 - [catch2][dtest] Adding new tests for hipMemcpyDeviceToDeviceNoCU
Change-Id: Ibe338af731a4f0e21d5c8def8ac125532b75969e
2024-03-12 14:11:49 -04:00
mbhiutra 5c1bc4a4c3 SWDEV-431704 - [catch2][dtest] Added test case for HIPGraph Performance
Change-Id: Ia09b50cab74f154ac5a0005f27386da1875fbe38
2024-03-08 12:22:37 -05:00
Rakesh Roy 57bc68acb1 SWDEV-1 - Merge github PRs to amd-staging
Change-Id: I2944a63ddc2eec8dc1403d9790ffffbaec343385
2024-03-06 00:12:20 +05:30
Nives Vukovic 1e15bfca23 EXSWHTEC-383 - Implement tests for hipGraphAddNode API #456
Change-Id: I91762d23c4a05acc68463402e76cee4e26d27b57
2024-02-27 22:27:07 +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
Nives Vukovic 27eeaa29a7 EXSWHTEC-374 - Implement tests for Graph device memory APIs #452
Change-Id: Ic82e3cda60296ec7b2acb9b5755c51ccbdb85c8d
2024-02-27 16:54:09 +05:30
Nives Vukovic 63c93f95a8 EXSWHTEC-371 - Implement tests for the hipDrvGraphAddMemsetNode API #447
Change-Id: I981e14f34b008054d46e61ebae0099792df446b1
2024-02-27 12:30:54 +05:30
Nives Vukovic 6f9f5c07fe EXSWHTEC-370 - Implement tests for the hipDrvGraph*MemcpyNode APIs #446
Change-Id: I956dc06157324e9d6971348a70b600c4a9105538
2024-02-27 12:29:28 +05:30
Mirza Halilcevic 044a59496c EXSWHTEC-281 - Implement Unit Tests for assert functions #210
Change-Id: I6c05915c957d9b67951b3e97cc35cb1ca72a945f
2024-02-23 20:45:53 +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 Halilčević cefbaed5cf EXSWHTEC-217 - Implement new and update existing tests for the hipGraph*MemcpyNode family of APIs #48
Change-Id: Iae7ac9c855ba6e3288257e99e49f8b16cebb1bac
2024-02-19 22:58:36 +05:30
Mirza Halilčević efddf09082 EXSWHTEC-189 - Implement new and update existing tests for the hipGraph*MemcpyNode1D family of APIs #14
Change-Id: I0f5e936fee6912ea24cc80c1013cf38ed41ff851
2024-02-19 22:36:19 +05:30
Mirza Halilčević 55b925f3ff EXSWHTEC-170 - Implement tests for Kernel Graph Node Attribute APIs #8
Change-Id: I75271f0d1906d31b16d09ca6acb94ee864e87d92
2024-02-19 22:34:58 +05:30
Nives Vukovic 3831c582d2 EXSWHTEC-340 - Implement unit tests for MemFree Graph Node APIs (#424)
Change-Id: I3e43144bdbeee94aa5672668d7fea48b039e5001
2024-02-15 19:41:24 +05:30
Nives Vukovic 37f45585d2 EXSWHTEC-339 - Implement unit tests for MemAlloc Graph Node APIs (#423)
Change-Id: I6fa905982fc5a65bedfb3242ce18590e2ac813c2
2024-02-15 19:41:24 +05:30
Jaydeep Patel 8993dd87ef SWDEV-401781 - Enhance test case.
Change-Id: I47074cc972512ac1b699ed4fc9386d470fae1c61
2024-02-14 06:22:09 -05:00
mbhiutra e1aa13c4d4 SWDEV-432851 - [catch2][dtest] Add test for hipDrvGraphAddMemcpyNode
Change-Id: Ie2738eecafafa980efe4c33e10426febcf7a6cbd
2024-02-12 22:32:33 -05:00
Ajay 1d9aadbf92 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
2024-01-17 11:34:53 -05:00
Nives Vukovic 575e4cc93e EXSWHTEC-178 - Implement tests for Graph Event Node APIs #44
Change-Id: Id3f569d94d347af2f5e27513fa01c5a1e8e30fd9
2023-12-20 10:22:01 +00:00
Nives Vukovic 133521b22f EXSWHTEC-172 - Hip graph launching and execution tests #36
Change-Id: I2cfadf6335a582f593191860d5084cb79fa411b3
2023-12-20 10:22:01 +00:00
Nives Vukovic 91ee1399df EXSWHTEC-173 - Implement tests for Graph Node dependencies APIs (#50)
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/50

Change-Id: I65707d9d0bfa12c08d82779c1402215f22d7815b
2023-12-08 10:28:47 -05:00
sdashmiz ba8d4d2c61 SWDEV-389652 - re-enable user obj with child graph
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/340

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I3a5fd47221856ac76c58c94f5a2c05bbfd774296
2023-11-24 05:40:02 -05:00
Ioannis Assiouras 5546c951b8 SWDEV-431291 - Convert variable length arrays to vectors.
In test hipGraphPerf.cc. Using variable length arrays can raise an error
if -Wvla-cxx-extension is enabled.

Change-Id: I66542885b115c53b90348dba1964ffd1b0f3bd9a
2023-11-07 15:46:04 +00:00
mbhiutra 6927bd31ec SWDEV-367611 - [catch2][dtest] Added function and complex scenarios with hipGraphExecUpdate API
Change-Id: I6f6b542783104895f85ab0a1fe6808556435aa2c
2023-11-06 09:23:44 -05:00
kjayapra-amd baaaff9d7f SWDEV-415965 - Fixing uninitialized variable error for pitch_M and
update hipArray in hipGetLastError

Change-Id: I5656eaa666c0472fb852aa0f95ae1b75c98b60ab
2023-10-13 16:25:01 +05:30
sdashmiz e161374c31 SWDEV-332969 - [ABI Break]remove hiparray from tests
- replace with hipArray_t

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie1dade58d868182309caf00bf65a86a8fed2cfa6
2023-10-12 12:09:20 -04:00
mbhiutra 1ef4b7f4ea SWDEV-306122 - [catch2][dtest] Added test for hipGraphMemAllocNodeGetParams, hipGraphMemFreeNodeGetParams APIs
Change-Id: I0b68b6d26e91911acb8c14bd95bb62d6d9688ef4
2023-10-12 10:16:52 -04:00