Commit Graph

224 Commits

Author SHA1 Message Date
marandje 811609c0e1 SWDEV-523137 - Fix and enable a few negative tests on NV (#1157) 2025-11-04 23:28:11 +01:00
systems-assistant[bot] 196086042d SWDEV-523137 - Enable and fix failing tests on NV (#602) 2025-10-24 12:41:54 +02:00
vstojilj bfedf63575 SWDEV-552537 - Fix nvidia build failures (#1125)
* SWDEV-552537 - Fix nvidia build failures

* Add string header to fix hip-tests

---------

Co-authored-by: Branislav Brzak <branislav.brzak@amd.com>
Co-authored-by: Danylo Lytovchenko <danylo.lytovchenko@amd.com>
2025-10-13 09:20:17 +02:00
Godavarthy Surya, Anusha d3cc2c7668 SWDEV-524745 - Part-III Add multi device support for hip graph (#814)
- Retrieve the list of devices linked to each branch using stream ID x.
- Identify the necessary streams for each device to facilitate graph execution.
- Create the necessary streams for each device to ensure successful graph execution.
- Implement support for launching a multi-device, single-branch graph.

Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
2025-10-10 10:27:27 +05:30
Ioannis Assiouras 9def133275 SWDEV-555798 - Added sync after graphLaunch for Unit_hipGetProcAddress_GraphAPIs tests (#1052) 2025-09-19 15:10:33 +01:00
Godavarthy Surya, Anusha ce560304a8 SWDEV-548417 - Fix Memleaks in Graph (#713)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
2025-09-19 17:39:36 +05:30
systems-assistant[bot] ae874b489d SWDEV-515530 - Re-enable passing tests (#592)
* SWDEV-515530 - Re-enable passing tests

* SWDEV-515530 - Revert back windows config file

* SWDEV-515530 - Fix new line

* SWDEV-515530 - Enable a few more tests

* SWDEV-515530 - Enable passing VMM tests

* SWDEV-515530 - Disable failing tests

* SWDEV-515530 - Fix and enable texture tests

* SWDEV-515530 - Minor fixes

* SWDEV-515530 - Disable one more test

---------

Co-authored-by: Marko Arandjelovic <Marko.Arandjelovic@amd.com>
2025-09-02 16:03:07 +02:00
Ioannis Assiouras 1017532916 SWDEV-546631 - Fix hipLaunchHostFunction in stream capture for windows (#654) 2025-08-28 07:51:50 +01: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
Assiouras, Ioannis 5283a114b2 SWDEV-549309 - Ensure that the kernel is issued to a stream that is ass… (#552)
* SWDEV-549309 - Ensure that the kernel is issued to a stream that is associated to the current device

* SWDEV-549309 - Ensure that the kernel is issued to a stream that is associated to the current device in atomic tests

* SWDEV-549309 - Added fix for Unit_hipMallocFromPoolAsync_Multidevice_Concurrent test

* SWDEV-549309 - Added fix for Unit_hipMemcpyPeerAsync_Positive_Default

* SWDEV-549309 - Added fix for Unit_hipStreamAttachMemAsync_Positive_AttachGlobal and Unit_hipGetProcAddress_GraphAPIs_AddMemsetMemcpyNodes

[ROCm/hip-tests commit: d21a95cea8]
2025-08-14 11:50:56 +05:30
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
Chaudhary, Jatin Jaikishan 6ca3502d42 SWDEV-470698 - remove duplicate tests (#316)
Change-Id: Icedf0bd442f9a983fc590b7fde1a0e888472b65a

[ROCm/hip-tests commit: 409b47fec6]
2025-06-23 19:52:44 +05:30
Assiouras, Ioannis fdfe1eaf68 SWDEV-508965 - Remove references to HIP_MEMSET_NODE_PARAMS struct (#195)
[ROCm/hip-tests commit: d1e6f076e2]
2025-05-22 13:08:36 +05:30
Assiouras, Ioannis 103dcd35af SWDEV-533235 - Fix reference counting in Unit_hipGraphUserObj_ClonedGraph (#189)
[ROCm/hip-tests commit: 99f0083a64]
2025-05-21 09:31:39 -07:00
Arandjelovic, Marko 5ad13665eb SWDEV-525066 - Enable hipDeviceGetGraphMemAttribute functional tests (#71)
[ROCm/hip-tests commit: 974d47ad8d]
2025-05-14 16:06:23 +02:00
Gollamandala, Srinivasarao 105f388d54 SWDEV-514396-[catch2][dtest]-Delay the hipUserObjectRelease (#68)
[ROCm/hip-tests commit: d9cb3c7fb1]
2025-05-13 22:16:15 +05:30
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
Brzak, Branislav f63e3e9c0a SWDEV-515519 - Synchronize after mem pool trim (#89)
[ROCm/hip-tests commit: 3f30d6d8ea]
2025-04-30 16:09:15 +02:00
Jaydeep Patel aeae2fcbb1 SWDEV-457316 - Fix tests to use graph's reserve memory instead of hipMemGetInfo.
Change-Id: I839aaec3f502ed8686651fdc05b71c0da3e5dea2


[ROCm/hip-tests commit: b42adb24b4]
2025-03-05 00:48:15 -05:00
Aidan Belton-Schure 007df6e993 SWDEV-491303 - Add_concurrent_stream_error_checking
Change-Id: I70268bfa2b97994e0906ded6bae9885ec540292e


[ROCm/hip-tests commit: 5007b3f5e4]
2025-03-03 04:21:40 -05:00
Pengda Xie 272659ff99 SWDEV-514841 - Remove invalid stream tests which leads to segfault
Change-Id: I230c4ccc0d2f591cbf2cd0e019f910094f4f3f26


[ROCm/hip-tests commit: b46d6abdcb]
2025-02-21 12:08:36 +00:00
Anavena Venkatesh 0ca7f8a65d SWDEV-491363 - [catch2][dtest] Added test cases for missed graph APIs
Change-Id: Ic740c52992b8d0a325f09b1db0adf599561e1a1d


[ROCm/hip-tests commit: e9177bd83b]
2025-01-27 10:45:37 -05:00
SrinivasaRao 8ca1e6634a SWDEV-493282-[catch2][dtest]-Negative Tests for the hipGraphBatchMemOpNodeSetParams API
Change-Id: I4dac4608b054a7c93c2fb94b047f5e0b3f96f74d


[ROCm/hip-tests commit: 01ad9df4b6]
2025-01-22 12:27:33 -05:00
SrinivasaRao bdcfdb57d4 SWDEV-493280-[catch2][dtest]-Negative Tests for the hipGraphAddBatchMemOpNode API
Change-Id: I30e4a6ed8d08247a7edc5fb6b51c5297b22273de


[ROCm/hip-tests commit: ed59886628]
2025-01-22 09:06:54 -05:00
SrinivasaRao 5fcb433508 SWDEV-493287-[catch2][dtest] Functional tests for the hipGraphNodeFindInClone api
Change-Id: I6fa267c942f59985a2d90d5365ad49d93ef30a89


[ROCm/hip-tests commit: 5d5614929c]
2025-01-21 22:59:51 -05:00
SrinivasaRao fa51cf8b3e SWDEV-493289-[catch2][dtest]-Negative Tests for the hipGraphExecBatchMemOpNodeSetParams API
Change-Id: I52fde7f8bf7ab8275d8484aa52685830689df174


[ROCm/hip-tests commit: 87d771b155]
2025-01-21 13:03:41 -05:00
Rambabu Swargam f0e8bcc19b SWDEV-491363 - [catch2][dtest] Add and Enable tests for Graph APIs
Details :
1) Add tests for hipDrvGraphExecMemsetNodeSetParams
2) Enable commented tests for hipDrvGraphMemcpyNodeSetParams

Change-Id: Ia4771e1dea022b5f4316b66c0bd585f0f941ab77


[ROCm/hip-tests commit: c90d83366f]
2025-01-21 12:59:03 -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
Rambabu Swargam 0c242e09cb SWDEV-493285 - [catch2][dtest] Additional testcases for hipGraphInstantiateWithFlags
Change-Id: I5c5261cb908cf4dfa66f4e36312da6befe9fabc0


[ROCm/hip-tests commit: 95167b9d96]
2025-01-13 13:48:39 -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
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