Commit Graph

86 Commits

Author SHA1 Message Date
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
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
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 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
mbhiutra 1ef4b7f4ea SWDEV-306122 - [catch2][dtest] Added test for hipGraphMemAllocNodeGetParams, hipGraphMemFreeNodeGetParams APIs
Change-Id: I0b68b6d26e91911acb8c14bd95bb62d6d9688ef4
2023-10-12 10:16:52 -04:00
mbhiutra 9a802f36ed SWDEV-415965 - [catch2][dtest] Added test for Optimize HIPGraph Performance
Change-Id: I46b1f1d5bea884d6cf335f7e4e09cb453f20a3fe
2023-10-10 00:11:46 -04:00
ROCm CI Service Account b2041d42d8 SWDEV-396687 - [catch2][dtest] mixing manual node adding in combination with Begin/End capture based on hipGraph apis (#326)
Change-Id: Ife7de38956274895d2370b7c9032cf17eef287bc
2023-08-14 20:59:59 +05:30
ROCm CI Service Account 8fe180bfdb SWDEV-377322- [catch2][dtest] Added functional tests for the API hipGraphAddKernelNode (#344)
Change-Id: I693402be766f9cdc9369a92dc1fa5196ffd4d9b7
2023-07-08 20:54:08 +05:30
Jatin Chaudhary fe9515a99a SWDEV-408621 - Fix windows CI breakage (#343)
Change-Id: I8e7f8b614cee917214c3eec0023fe1c4c68d991a
2023-07-04 10:49:19 +05:30
ROCm CI Service Account 961435236f SWDEV-379359 - [catch2][dtest] hipGraphKernelNodeSetAttribute API test (#325)
Change-Id: Iff63f523301031fc3f01b84475b9ee3c0a5bb236
2023-06-29 08:59:20 +05:30
ROCm CI Service Account c24c6674ae SWDEV-367877 - add test to detect graph topology (#314)
- detect cycle and return error
- check whether cycle is resolved by removing edge
- remove egde from graph check for cycle and correct operation

Change-Id: I8fdab97c8fab6a66b252944f3db04d008bc68aaa
2023-06-29 08:57:20 +05:30
ROCm CI Service Account 1b4f3bbc99 SWDEV-379359 - [catch2][dtest] hipGraphKernelNodeGetAttribute API test (#246)
Change-Id: Ief701260ec1031019986f6afe87b43777830e5be
2023-06-21 15:57:52 +05:30
ROCm CI Service Account fd758200e5 SWDEV-368280 - Add Unit_hipStreamCaptureExtModuleLaunchKernel (#105)
For stream capture test of hipExtModuleLaunchKernel.
SWDEV-372824 - Add Unit_hipStreamCaptureRtc
For stream capture test based on RTC

Change-Id: I96ef1395f75189ad751ca637f5c3273d280e849a
2023-06-21 15:56:36 +05:30
Mirza Halilčević 973109fec0 EXSWHTEC-194 - Implement tests for User Object Graph APIs (#30)
- Tidy up hipUserObjectCreate tests
- Tidy up hipUserObjectRelease tests
- Tidy up hipUserObjectRetain tests
- Tidy up hipGraphReleaseUserObject tests
- Tidy up hipGraphRetainUserObject tests
- Separate tests into multiple files.
2023-06-21 11:52:14 +05:30
ROCm CI Service Account 2cf38e9e33 SWDEV-357695 - [catch2][dtest] hipGraphKernelNodeCopyAttributes API test (#90)
Change-Id: I8a7494cbb056df8b2b6b0bf5810f67e4eed4db7b
2023-03-24 15:59:08 +05:30
Marko Veniger 42ebc6cd10 EXSWHTEC-171 - Hip graph creation and destruction tests (#35)
* EXSWHTEC-171 - Implement positive and negative unit tests for the following API's:
 - hipGraphCreate
 - hipGraphDestroy
2023-03-06 16:56:24 +05:30
nives-vukovic 4580864fa1 EXSWHTEC-145 - Implement tests for Stream Capture APIs (#11)
Implement tests for hipStreamUpdateCaptureDependencies, hipThreadExchangeStreamCaptureMode and hipLaunchHostFunc
- Refactor existing tests by including more catch2 features
- Reduce code line numbers by using helper guard classes
- Add some positive and negative tests
- Add doxygen test descriptions
2023-03-06 13:41:54 +05:30
nives-vukovic 638e2aabeb EXSWHTEC-198 - Implement tests for hipStreamGetCaptureInfo, hipStreamGetCaptureInfo_v2 and hipStreamIsCapturing (#195)
- Refactor existing tests by including more catch2 features
- Reduce code line numbers by using helper guard classes
- Add some positive and negative tests
- Add doxygen test descriptions
2023-03-06 13:39:35 +05:30
music-dino f1151e3c6d EXSWHTEC-192 - Implement new and update existing tests for the hipGraph*MemcpyNode[From|To]Symbol family of APIs (#13)
* EXSWHTEC-192 - Implement new and update existing tests for the hipGraph*MemcpyNode[From|To]Symbol family of APIs
- Generalize from symbol positive test to work for different types
- Implement negative parameter tests
- Extract common code for to/from copy
- Reorganize files
2023-03-06 09:00:35 +05:30
ROCm CI Service Account eaf4403b17 SWDEV-357695 - [catch2][dtest] hipGraphNodeGetEnabled API test case added (#91)
Change-Id: I71a9b9acfdd75403ddd6c4cf1876be2b4ca80eda
2023-02-28 11:37:49 +05:30
ROCm CI Service Account 3d3289b453 SWDEV-357695 - [catch2][dtest] hipGraphNodeSetEnabled API test added (#82)
Change-Id: Ie7af5d79390c7a6529e379f60e57961cdac71684
2023-02-23 09:01:16 -08:00
Rahul Garg 961245e9f4 Catch2 standalone exe (#129)
* SWDEV-359379 - catch2: Standalone single exe per file

-workaround for rsp file issue.
-Creates single exe per file
-tests detection is still during execution time and NOT compile time

Change-Id: Iddfb83d57b2d767212f3d9307a276b7d572da6cd

* SWDEV-359379 - Update CMakeList

* Update Catch.cmake

* Temporarily disable failing tests
2023-01-19 14:09:14 -08:00
ROCm CI Service Account fb919e7995 SWDEV-306122 - [catch2][dtest] Added test for hipGraphUpload API (#89)
Change-Id: If0cd652926c1308d8185648516256e13a7b3e5fd
2023-01-16 16:31:47 +05:30
ROCm CI Service Account b8a83b3cc4 SWDEV-306122 - [catch2][dtest] hipGraphCreate, hipGraphDestroy and hipGraphExecDestroy APIs test (#79)
Change-Id: I8219122c6c0f85a70a22f66037c0f2920047ab8b
2023-01-16 16:31:04 +05:30
ROCm CI Service Account b21980bd21 SWDEV-306122 - [catch2][dtest] Added test for hipGraphDebugDotPrint API (#103)
Change-Id: I5048bbab3239ae44c674ab7591726cae1654029a
2023-01-04 18:32:24 -08:00
ROCm CI Service Account 88ccea4635 SWDEV-367611 - [catch2][dtest] Added function and complex scenarios with hipGraphCloneComplx API (#104)
Change-Id: Icdcd17dc34d31d0de129777d00a65bf6300b5514
2023-01-04 17:26:28 -08:00
ROCm CI Service Account eebb6fb3ea SWDEV-306122 - [catch2][dtest] Added test for hipUserObjectCreate, hipUserObjectRelease, hipUserObjectRetain, hipGraphReleaseUserObject, hipGraphRetainUserObject API (#3061)
* SWDEV-306122 - [catch2][dtest] Added test for hipUserObjectCreate, hipUserObjectRelease, hipUserObjectRetain, hipGraphReleaseUserObject, hipGraphRetainUserObject API

Change-Id: I7fd25bcc23f0629d92296ab7b20258a6e268a58b
2022-11-28 20:15:49 +05:30
ROCm CI Service Account ecf407cfd0 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipStreamGetCaptureInfo_V2 api (#2854)
Change-Id: Ia55eae2d04e3d7f229aa571fe94e2e8e0dfd5603
2022-11-02 11:50:51 +05:30
ROCm CI Service Account 879900af71 SWDEV-306122 - [catch2][dtest] Adding following tests for hipGraphAddEventWaitNode() API. (#2591)
1. Functional Tests
2. Negative Tests

Change-Id: I970a41e9c070c74c179818e74bfd93276dcfad10
2022-11-02 08:30:06 +05:30
ROCm CI Service Account d55c94b77e SWDEV-306122 - [catch2][dtest] Tests for hipGraphExecChildGraphNodeSetParams API (#2948)
Added Negative and functional tests for hipGraphExecChildGraphNodeSetParams API

Change-Id: Ibe3ab74bc783a90daec153a8c74f039a2f977a71
2022-09-23 12:36:45 +05:30
ROCm CI Service Account c67c3f928b SWDEV-306122 - [catch2][dtest] Tests for hipGraphHostNodeGetParams API (#2949)
Added Negative and functional tests for hipGraphHostNodeGetParams API.

Change-Id: Ic9e841875673c10cea9a47f98cd47ff4995f888a
2022-09-23 12:35:27 +05:30
ROCm CI Service Account 258a7727b0 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependencies api (#2827)
Change-Id: I017ba7891c84adb4d24d857b31800723bd43ed59
2022-07-26 15:09:35 +05:30
ROCm CI Service Account 095355fe93 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependentNodes api (#2826)
Change-Id: Ie9a81fa8829d48ace19ac3fa522f957504c3ccc0
2022-07-26 15:08:04 +05:30
ROCm CI Service Account 4e1d167d53 SWDEV-306122 - [catch2][dtest] hipGraphExecMemcpyNodeSetParamsToSymbol API (#2824)
Change-Id: I3f533b88f9fadcb17bde6577212cf1561fa49273

Co-authored-by: mbhiutra <meher.bhiutras@amd.com>
2022-07-26 10:47:49 +05:30
ROCm CI Service Account f4d9c38f1f SWDEV-306122 - [catch2][dtest] hipGraphMemcpyNodeSetParams1D added Functional and Negative test scenario (#2808)
Change-Id: If54fd56ae345ca4a13791bc376b3b72ce5e312b6
2022-07-19 19:30:42 +05:30
ROCm CI Service Account 6e361b1956 SWDEV-306122 - [catch2][dtest] Added test for hipGraphLaunch API (#2806)
Change-Id: Iee27077a3fb12ec3114843be3d4f408baf8bc559
2022-07-19 19:29:00 +05:30
ROCm CI Service Account e3ee2626f4 SWDEV-306122 - [catch2][dtest] API hipGraphKernelNodeGetParams, hipGraphKernelNodeSetParams, hipGraphExecKernelNodeSetParams. (#2802)
Change-Id: Ie5eb8949f589ac7ac5eb0f02e99f2012d9c0b926
2022-07-19 19:27:29 +05:30
ROCm CI Service Account 32ee6dc764 SWDEV-306122 - [catch2][dtest] Added tests for hipGraphMemcpyNodeGetParams/hipGraphMemcpyNodeSetParams API. (#2775)
Change-Id: Ie0e323a545c3bac17a35814a90b93ecd44cec537
2022-07-08 15:19:02 +05:30
ROCm CI Service Account 1dc384771f SWDEV-306122 - [catch2][dtest] hipGraphAddKernelNode Added negative test (#2734)
Change-Id: I0d6353f77c3c2abda7557f8268a024b1b4d8c1d7
2022-07-08 15:18:09 +05:30
ROCm CI Service Account 450cc21b8a SWDEV-306122 - [catch2][dtest] hipGraphAddMemsetNode API (#2754)
Change-Id: I19e01a0f801af411b3e9ac4b57f53c41b79014a5
2022-07-08 13:35:50 +05:30
ROCm CI Service Account dc58768ddd SWDEV-306122 - [catch2][dtest] hipGraphMemcpyNodeSetParamsFromSymbol API (#2762)
Change-Id: I88e5a808ca8441dc3dc745d8575d22973b7ac9d2
2022-06-23 17:40:50 -07:00
ROCm CI Service Account 95da4e27aa SWDEV-306122 - [catch2][dtest] Adding following tests for hipGraphExecEventWaitNodeSetEvent() API. (#2763)
- Functional Test
- Negative Tests

Change-Id: I80ba185c4892162e68945f82b3c1cc9ffd9c105c
2022-06-22 15:33:09 -07:00
ROCm CI Service Account 810dd89f46 SWDEV-306122 - [catch2][dtest] Adding following tests for hipGraphEventWaitNodeSetEvent() (#2590)
- Functional Tests
- Negative Tests

Change-Id: I2421c3def1a7c6865dca29bde7e741948e67345d
2022-06-16 17:09:11 -07:00
ROCm CI Service Account 7d7953c8e0 SWDEV-306122 - [catch2][dtest] Added est for hipStreamIsCapturing API. (#2715)
Change-Id: I9e85d393c51962f97c5e5399556ef823b3e33782
2022-06-14 13:22:10 -07:00
ROCm CI Service Account 1e6bfe7215 SWDEV-306122 - [catch2][dtest] hipGraph added negative test for hipStreamEndCapture (#2708)
Change-Id: I6b617c2c52b6960b25db533d5bc50e238c83af7d
2022-06-13 15:34:29 +05:30
ROCm CI Service Account 431c938938 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipStreamGetCaptureInfo api (#2696)
Change-Id: I73d42a87797cf70c5ac6093bc308203eae5cca00
2022-06-13 15:33:49 +05:30