Commit Graph

128 Commits

Author SHA1 Message Date
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
milos-mozetic d0295c4295 EXSWHTEC-224 - Test cases ID clean up and documentation for Device Management (#70)
- Test cases ID clean up and documentation for Device Management
- Adjust doxygen comments to fix bugs
- Adjust defgroup comments for test modules
2023-06-28 09:44:00 +05:30
Mirza Halilčević 9f5bb4219a EXSWHTEC-191 - Implement additional tests for Host Graph Node APIs (#9)
- Tidy up hipGraphAddHostNode tests
- Tidy up hipGraphHostNodeGetParams tests
- Tidy up hipGraphHostNodeSetParams tests
- Tidy up hipGraphExecHostNodeSetParams tests.
- Disable failing test sections on AMD.
2023-06-28 09:34:52 +05:30
ROCm CI Service Account 8ac31a8c97 SWDEV-396617 - updating test (#280)
Change-Id: Ibfe2a57cc04e100a75d9754d96ceb63c52c90417
2023-06-21 16:40:29 -07:00
ROCm CI Service Account b65b09234d SWDEV-389399 - [catch2][dtest] Adding hipStreamSynchronize scenarios when streams are in capturing mode (#270)
Change-Id: Ib2f919d84f6acc136db582ca0ac717634e8e5be9
2023-06-21 15:59:45 +05:30
ROCm CI Service Account e7348b1f04 SWDEV-388950 - updating test (#250)
Change-Id: I402542b53a84203a8f047534e40e3571bf1eb0c3
2023-06-21 15:58:27 +05:30
ROCm CI Service Account 82e874fc0b SWDEV-373476 - [catch2][dtest] hipGraphDebugDotPrint API test case added with supported type of nodes (#248)
Change-Id: Id910fabd651a28863e67fe497cd832d8b1ea7802
2023-06-21 15:58:15 +05:30
ROCm CI Service Account 031a15e32f SWDEV-373476 - [catch2][dtest] hipGraphKernelNodeCopyAttributes API test (#247)
Change-Id: I2ee5e21a438fbd7f7f96f2798039f9631881e25d
2023-06-21 15:58:04 +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 779a7ba03d SWDEV-389647 - correct typo. (#245)
Change-Id: I4fe492851c110d47244c599a4ceea62380544f8f
2023-06-21 15:57:40 +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
ROCm CI Service Account 17d3f51eff SWDEV-372504 - [catch2][dtest] Added additional functional tests for the API hipGraphAddMemcpyNode() and hipGraphAddMemcpyNode1D() (#146)
Change-Id: I5bd0f8540adf4938606d650863e5e31e6a6aaff8
2023-06-21 11:53:18 +05:30
ROCm CI Service Account 16e9c911ff SWDEV-366390 - [catch2][dtest] Added additional functional tests for the API hipGraphLaunch() (#140)
Change-Id: I47f299731ee19428dca62d1a2d67569fdcd5bf11
2023-06-21 11:53:01 +05:30
ROCm CI Service Account cbf80dda94 SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphAddEmptyNode() (#106)
Change-Id: Ibc2f72280a0c4f50c7d28acd5e5de4b6e835a3d6
2023-06-21 11:52:37 +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 6adef2989a SWDEV-385487 - [catch2][dtest] hipGraphInstantiateWithFlags API with hipGraphInstantiateFlagAutoFreeOnLaunch flag call (#213)
Change-Id: Ib96f796416d4e3190315f81432500e63876e78c0
2023-04-25 10:55:21 +05:30
ROCm CI Service Account 07260cf7e7 SWDEV-373476 - [catch2][dtest] hipGraphNodeGetEnabled API test case added few more graph scenarios (#199)
Change-Id: Ibd119135acb9e4fba97d320a93333604f176ee30
2023-03-24 16:00:08 +05:30
ROCm CI Service Account 993eeb955f SWDEV-373476 - [catch2][dtest] hipGraphNodeSetEnabled API test case added few more graph scenarios (#198)
Change-Id: Iff3bb5b937117a89cb6dbe0229a27fe11bcaa6e0
2023-03-24 15:59:35 +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
Maneesh Gupta ac4267e21e SWDEV-1 - Fix warnings while building tests (#201)
Change-Id: I7faf3446f8c9dafbbfc6bab4c6c1b756f0e4219d
2023-03-14 21:42:20 +05:30
ROCm CI Service Account e4ef99f52a SWDEV-364620 - fix Unit_hipGraphAddHostNode_ClonedGraphwithHostNode by adding dependencies for cloned graph correctly (#186)
Change-Id: I87bbf2536ccf5aa896478bfdca0d7d76fd5b4a74
2023-03-06 19:34:49 +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
music-dino 77a37371b0 EXSWHTEC-193 - Implement new and update existing tests for the hipGraph*MemsetNode family of APIs (#12)
- Implement positive and negative tests for hipGraphAddMemsetNode
- Implement positive and negative tests for hipGraphMemsetNodeSetParams
- Implement positive and negative tests for hipGraphExecMemsetNodeSetParams
- Implement negative tests for hipGraphMemsetNodeGetParams
- Add doxygen annotations
- Add a dynamic section in positive test for memset for different dimensions
2023-03-06 13:43:45 +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 82339b5234 SWDEV-364623 - add proper sync to Unit_hipGraphMemcpyNodeSetParamsToSymbol_Functional (#167)
Change-Id: I7fffb89823c43883f6e3764f2422cb0b1cc12bcf
2023-03-01 10:14:34 +05:30
ROCm CI Service Account f270b6c49a SWDEV-364621 - add proper sync to Unit_hipGraphExecMemcpyNodeSetParamsToSymbol_Functional (#177)
Change-Id: I3400d80369a8adb474d582a1b6b5017ac9e90e45
2023-02-28 12:05:17 +05:30
ROCm CI Service Account cd7144f75f SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamEndCapture() API (#112)
Change-Id: I45907c7601a4f522c798e9d2a47466636640a02d
2023-02-28 12:04:44 +05:30
ROCm CI Service Account f5367f3bc8 SWDEV-373476 - [catch2][dtest] hipGraphUpload API test case added with priority stream (#172)
Change-Id: I0b743c759efbd112de2428d6a07a537c66465247
2023-02-28 12:03:37 +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 92f0da368f SWDEV-382074 - Check for peer access. (#169)
Change-Id: I8b931a92fc97c68556d74332984ddf17c53df7d4
2023-02-27 21:20:57 -08:00
ROCm CI Service Account 6ef967abd7 SWDEV-372504 - [catch2][dtest] Added functional tests for the API hipGraphAddMemsetNode() (#159)
Change-Id: I0701a02087feb75d9a878a9edce17cf0ee1b5b53
2023-02-27 20:36:58 -08:00
ROCm CI Service Account a160e355d6 SWDEV-381577 Fix access pattern of graph test - this should stop random failures on CI (#178)
Change-Id: I39026a948ed967d381f4ee10711840128a2f6f83
2023-02-27 15:53:24 -08:00
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
ROCm CI Service Account d90c401529 SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphGetRootNodes() (#100)
Change-Id: Ie9917780a4ba28639f509142141718f5dcf24ffc
2023-02-05 18:04:27 -08:00
ROCm CI Service Account 3dc3f6b942 SWDEV-366390 - [catch2][dtest] Added additional functional tests for the API hipGraphNodeGetType() (#147)
Change-Id: I1691b81d597bfd722d560778f019ebf8ca530e8e
2023-01-30 23:00:20 -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 9a93994fcf SWDEV-306122 - [catch2][dtest] Modify some negative test hipGraphMemcpyNodeSetParams1D (#76)
Change-Id: Ie75c1b55b35efda98db77c425e73d495c7e0083d
2023-01-16 16:30:50 +05:30
ROCm CI Service Account 7f440c468c SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamIsCapturing() API (#113)
Change-Id: I5629152cb7b14965dafc2383e47fdc66d805283c
2023-01-11 12:05:37 -08:00
ROCm CI Service Account 461852afcf SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamGetCaptureInfo and hipStreamGetCaptureInfo_v2 APIs (#114)
Change-Id: I304c973330dc5682541c69c89eded418b3d30fd5
2023-01-10 15:49:05 -08:00
ROCm CI Service Account c4caabb02d SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphInstantiate() API (#116)
Change-Id: I6fc2b59d11244f61e15461eb2796c46c6b820013
2023-01-09 20:54:30 -08:00
ROCm CI Service Account 87fac87657 SWDEV-337452 - Changing Clock64 to WallClock64 in tests for gfx11. (#78)
Change-Id: I484fe9ff7cd56c70a37a3ac5a4a55812f8557259
2023-01-06 15:05:21 -08:00
ROCm CI Service Account 70c61d55a4 SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphDestroyNode() API (#101)
Change-Id: Ia906f9a1c409c1d694be9089f75e939729e6103b
2023-01-06 12:00:07 -08:00
agunashe 9c6c665f65 SWDEV-327563 - skip Unit_hipGraphChild_hipUserObject_hipGraphUserObject (#108)
Test times out in Nvidia but passes in AMD.
Skipping temporarily till issue is fixed
2023-01-06 13:57:48 +05:30
ROCm CI Service Account 09c6d3b15c SWDEV-306122 - [catch2][dtest] hipGraphAddMemcpyNode1D APIs test added (#102)
Change-Id: I59dc915255f3c57c2b1f13869fbd375856310441
2023-01-05 17:09:40 -08:00
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