Commit Graph

104 Commits

Author SHA1 Message Date
Deshpande, Chinmay Diwakar 1c366ee950 SWDEV-532676 - Fix hipcc flags for catch tests (#191)
Co-authored-by: Chinmay Deshpande <chdeshpa@amd.com>
2025-06-24 21:42:11 -07:00
Chaudhary, Jatin Jaikishan 409b47fec6 SWDEV-470698 - remove duplicate tests (#316)
Change-Id: Icedf0bd442f9a983fc590b7fde1a0e888472b65a
2025-06-23 19:52:44 +05:30
Anavena Venkatesh e9177bd83b SWDEV-491363 - [catch2][dtest] Added test cases for missed graph APIs
Change-Id: Ic740c52992b8d0a325f09b1db0adf599561e1a1d
2025-01-27 10:45:37 -05:00
SrinivasaRao 01ad9df4b6 SWDEV-493282-[catch2][dtest]-Negative Tests for the hipGraphBatchMemOpNodeSetParams API
Change-Id: I4dac4608b054a7c93c2fb94b047f5e0b3f96f74d
2025-01-22 12:27:33 -05:00
SrinivasaRao ed59886628 SWDEV-493280-[catch2][dtest]-Negative Tests for the hipGraphAddBatchMemOpNode API
Change-Id: I30e4a6ed8d08247a7edc5fb6b51c5297b22273de
2025-01-22 09:06:54 -05:00
SrinivasaRao 87d771b155 SWDEV-493289-[catch2][dtest]-Negative Tests for the hipGraphExecBatchMemOpNodeSetParams API
Change-Id: I52fde7f8bf7ab8275d8484aa52685830689df174
2025-01-21 13:03:41 -05:00
Rambabu Swargam c90d83366f 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
2025-01-21 12:59:03 -05:00
Rambabu Swargam 7fb9301d6b SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 2
Change-Id: I4619f8e69b75d1193e98adce2707bf7876b1ba59
2025-01-21 12:53:28 -05:00
SrinivasaRao 68cc5bdd6e SWDEV-475134-[catch2][dtest] Functional graph tests for hipUserObject
Change-Id: If4dbe6a3cc6a929e2e4a9521f05dfa2836f0855b
2024-11-18 04:58:40 -05:00
Michael Xie 72450ae7a1 SWDEV-492356 - Install hip-test artifacts into a single folder
Change-Id: Ib2a2c021e2546c0233050f11d3dc84f2ea4ff03d
2024-11-13 18:22:32 -05:00
Branislav Brzak 2b20d3a9af SWDEV-441600 - Add hipGraphMemFreeNodeGetParams tests
Change-Id: I46cc12e9940cf647e3c3dbe4ce87957eb8aa4e33
2024-08-01 14:26:32 -04:00
Rupam Chetia 936ec35b7f SWDEV-441352 - [catch2][dtest] Added test for hipStreamBeginCaptureToGraph()
Change-Id: I026c34b2c3ff7494787a3e4fc7fb82973893b224
2024-05-14 23:51:10 -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
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
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 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