Commit Graph

109 Commits

Author SHA1 Message Date
Maneesh Gupta 76bf03c9c7 SWDEV-1 - Fix warnings while building tests (#201)
Change-Id: I7faf3446f8c9dafbbfc6bab4c6c1b756f0e4219d

[ROCm/hip-tests commit: ac4267e21e]
2023-03-14 21:42:20 +05:30
ROCm CI Service Account fc7de1392a SWDEV-364620 - fix Unit_hipGraphAddHostNode_ClonedGraphwithHostNode by adding dependencies for cloned graph correctly (#186)
Change-Id: I87bbf2536ccf5aa896478bfdca0d7d76fd5b4a74

[ROCm/hip-tests commit: e4ef99f52a]
2023-03-06 19:34:49 +05:30
Marko Veniger 9d19cc9a57 EXSWHTEC-171 - Hip graph creation and destruction tests (#35)
* EXSWHTEC-171 - Implement positive and negative unit tests for the following API's:
 - hipGraphCreate
 - hipGraphDestroy

[ROCm/hip-tests commit: 42ebc6cd10]
2023-03-06 16:56:24 +05:30
music-dino f80f85f252 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

[ROCm/hip-tests commit: 77a37371b0]
2023-03-06 13:43:45 +05:30
nives-vukovic c365761137 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

[ROCm/hip-tests commit: 4580864fa1]
2023-03-06 13:41:54 +05:30
nives-vukovic 8a7716146e 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

[ROCm/hip-tests commit: 638e2aabeb]
2023-03-06 13:39:35 +05:30
music-dino c26ed2c1ea 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

[ROCm/hip-tests commit: f1151e3c6d]
2023-03-06 09:00:35 +05:30
ROCm CI Service Account 74b04d86af SWDEV-364623 - add proper sync to Unit_hipGraphMemcpyNodeSetParamsToSymbol_Functional (#167)
Change-Id: I7fffb89823c43883f6e3764f2422cb0b1cc12bcf

[ROCm/hip-tests commit: 82339b5234]
2023-03-01 10:14:34 +05:30
ROCm CI Service Account ef21b502d4 SWDEV-364621 - add proper sync to Unit_hipGraphExecMemcpyNodeSetParamsToSymbol_Functional (#177)
Change-Id: I3400d80369a8adb474d582a1b6b5017ac9e90e45

[ROCm/hip-tests commit: f270b6c49a]
2023-02-28 12:05:17 +05:30
ROCm CI Service Account 827d73231d SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamEndCapture() API (#112)
Change-Id: I45907c7601a4f522c798e9d2a47466636640a02d

[ROCm/hip-tests commit: cd7144f75f]
2023-02-28 12:04:44 +05:30
ROCm CI Service Account 9478f04cc2 SWDEV-373476 - [catch2][dtest] hipGraphUpload API test case added with priority stream (#172)
Change-Id: I0b743c759efbd112de2428d6a07a537c66465247

[ROCm/hip-tests commit: f5367f3bc8]
2023-02-28 12:03:37 +05:30
ROCm CI Service Account b428200547 SWDEV-357695 - [catch2][dtest] hipGraphNodeGetEnabled API test case added (#91)
Change-Id: I71a9b9acfdd75403ddd6c4cf1876be2b4ca80eda

[ROCm/hip-tests commit: eaf4403b17]
2023-02-28 11:37:49 +05:30
ROCm CI Service Account afd5fd4446 SWDEV-382074 - Check for peer access. (#169)
Change-Id: I8b931a92fc97c68556d74332984ddf17c53df7d4


[ROCm/hip-tests commit: 92f0da368f]
2023-02-27 21:20:57 -08:00
ROCm CI Service Account 6414929098 SWDEV-372504 - [catch2][dtest] Added functional tests for the API hipGraphAddMemsetNode() (#159)
Change-Id: I0701a02087feb75d9a878a9edce17cf0ee1b5b53


[ROCm/hip-tests commit: 6ef967abd7]
2023-02-27 20:36:58 -08:00
ROCm CI Service Account dd1cbf1c85 SWDEV-381577 Fix access pattern of graph test - this should stop random failures on CI (#178)
Change-Id: I39026a948ed967d381f4ee10711840128a2f6f83


[ROCm/hip-tests commit: a160e355d6]
2023-02-27 15:53:24 -08:00
ROCm CI Service Account f9269a3dc2 SWDEV-357695 - [catch2][dtest] hipGraphNodeSetEnabled API test added (#82)
Change-Id: Ie7af5d79390c7a6529e379f60e57961cdac71684


[ROCm/hip-tests commit: 3d3289b453]
2023-02-23 09:01:16 -08:00
ROCm CI Service Account 27487bd6c6 SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphGetRootNodes() (#100)
Change-Id: Ie9917780a4ba28639f509142141718f5dcf24ffc

[ROCm/hip-tests commit: d90c401529]
2023-02-05 18:04:27 -08:00
ROCm CI Service Account 85cd1a7b51 SWDEV-366390 - [catch2][dtest] Added additional functional tests for the API hipGraphNodeGetType() (#147)
Change-Id: I1691b81d597bfd722d560778f019ebf8ca530e8e


[ROCm/hip-tests commit: 3dc3f6b942]
2023-01-30 23:00:20 -08:00
Rahul Garg ca57f979a0 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


[ROCm/hip-tests commit: 961245e9f4]
2023-01-19 14:09:14 -08:00
ROCm CI Service Account 6b75a1e06c SWDEV-306122 - [catch2][dtest] Added test for hipGraphUpload API (#89)
Change-Id: If0cd652926c1308d8185648516256e13a7b3e5fd

[ROCm/hip-tests commit: fb919e7995]
2023-01-16 16:31:47 +05:30
ROCm CI Service Account 71eed91199 SWDEV-306122 - [catch2][dtest] hipGraphCreate, hipGraphDestroy and hipGraphExecDestroy APIs test (#79)
Change-Id: I8219122c6c0f85a70a22f66037c0f2920047ab8b

[ROCm/hip-tests commit: b8a83b3cc4]
2023-01-16 16:31:04 +05:30
ROCm CI Service Account 8aa64d8df3 SWDEV-306122 - [catch2][dtest] Modify some negative test hipGraphMemcpyNodeSetParams1D (#76)
Change-Id: Ie75c1b55b35efda98db77c425e73d495c7e0083d

[ROCm/hip-tests commit: 9a93994fcf]
2023-01-16 16:30:50 +05:30
ROCm CI Service Account 4f18c1fc48 SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamIsCapturing() API (#113)
Change-Id: I5629152cb7b14965dafc2383e47fdc66d805283c


[ROCm/hip-tests commit: 7f440c468c]
2023-01-11 12:05:37 -08:00
ROCm CI Service Account a347fa3020 SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamGetCaptureInfo and hipStreamGetCaptureInfo_v2 APIs (#114)
Change-Id: I304c973330dc5682541c69c89eded418b3d30fd5


[ROCm/hip-tests commit: 461852afcf]
2023-01-10 15:49:05 -08:00
ROCm CI Service Account cdb7a85ad6 SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphInstantiate() API (#116)
Change-Id: I6fc2b59d11244f61e15461eb2796c46c6b820013

[ROCm/hip-tests commit: c4caabb02d]
2023-01-09 20:54:30 -08:00
ROCm CI Service Account d8b7cb28ff SWDEV-337452 - Changing Clock64 to WallClock64 in tests for gfx11. (#78)
Change-Id: I484fe9ff7cd56c70a37a3ac5a4a55812f8557259


[ROCm/hip-tests commit: 87fac87657]
2023-01-06 15:05:21 -08:00
ROCm CI Service Account 9bc91a13b2 SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphDestroyNode() API (#101)
Change-Id: Ia906f9a1c409c1d694be9089f75e939729e6103b


[ROCm/hip-tests commit: 70c61d55a4]
2023-01-06 12:00:07 -08:00
agunashe 1af3cd3067 SWDEV-327563 - skip Unit_hipGraphChild_hipUserObject_hipGraphUserObject (#108)
Test times out in Nvidia but passes in AMD.
Skipping temporarily till issue is fixed

[ROCm/hip-tests commit: 9c6c665f65]
2023-01-06 13:57:48 +05:30
ROCm CI Service Account 650dea002d SWDEV-306122 - [catch2][dtest] hipGraphAddMemcpyNode1D APIs test added (#102)
Change-Id: I59dc915255f3c57c2b1f13869fbd375856310441

[ROCm/hip-tests commit: 09c6d3b15c]
2023-01-05 17:09:40 -08:00
ROCm CI Service Account 171cca2ad1 SWDEV-306122 - [catch2][dtest] Added test for hipGraphDebugDotPrint API (#103)
Change-Id: I5048bbab3239ae44c674ab7591726cae1654029a

[ROCm/hip-tests commit: b21980bd21]
2023-01-04 18:32:24 -08:00
ROCm CI Service Account db640a0350 SWDEV-367611 - [catch2][dtest] Added function and complex scenarios with hipGraphCloneComplx API (#104)
Change-Id: Icdcd17dc34d31d0de129777d00a65bf6300b5514


[ROCm/hip-tests commit: 88ccea4635]
2023-01-04 17:26:28 -08:00
Mirza Halilčević 8f3c726bfe EXSWHTEC-169 - Implement additional tests for Kernel Graph Node APIs (#7)
- Tidy up hipGraphAddKernelNode tests
- Tidy up hipGraphKernelNodeGetParams tests
- Tidy up hipGraphKernelNodeSetParams tests
- Tidy up hipGraphExecKernelNodeSetParams tests.
- Disable failing test sections on AMD.

[ROCm/hip-tests commit: e710eeea8d]
2022-12-29 13:17:28 +05:30
ROCm CI Service Account 9b07f28878 SWDEV-363038 - Add Unit_hipGraphKernelNodeGetSetParams_Functional (#3062)
Add unit test: Unit_hipGraphKernelNodeGetSetParams_Functional

Add kernel node to graph with certain kernel params, now get kernel node parameters with hipGraphKernelNodeGetParams, then update the kernel node params with hipGraphKernelNodeSetParams, finally check taking effect after launching graph.

Change-Id: I2216f72f4dade6dd37663d3b0d821cb3d35d7856

[ROCm/hip-tests commit: 84bab79f1a]
2022-11-29 07:08:27 +05:30
ROCm CI Service Account 5a889b1bcd 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

[ROCm/hip-tests commit: eebb6fb3ea]
2022-11-28 20:15:49 +05:30
ROCm CI Service Account 23c5b48e23 SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamBeginCapture() API (#3094)
Change-Id: I7b89dcb6aa24eae0daf2974733ddeb6d3902cafa

[ROCm/hip-tests commit: ac246706a7]
2022-11-28 14:04:25 +05:30
ROCm CI Service Account 2fcb8178c8 SWDEV-306122 - [catch2][dtest] Additional tests for hipGraphGetNodes/hipGraphGetRootNodes api (#2860)
Change-Id: I4e9a6eadd92b6de4aded0aa96464bfcc59441ac4

[ROCm/hip-tests commit: 664c8b377d]
2022-11-02 14:42:11 +05:30
ROCm CI Service Account e8ec4e3e21 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipStreamGetCaptureInfo_V2 api (#2854)
Change-Id: Ia55eae2d04e3d7f229aa571fe94e2e8e0dfd5603

[ROCm/hip-tests commit: ecf407cfd0]
2022-11-02 11:50:51 +05:30
ROCm CI Service Account 2ee3a313bd SWDEV-306122 - [catch2][dtest] Adding following tests for hipGraphAddEventWaitNode() API. (#2591)
1. Functional Tests
2. Negative Tests

Change-Id: I970a41e9c070c74c179818e74bfd93276dcfad10

[ROCm/hip-tests commit: 879900af71]
2022-11-02 08:30:06 +05:30
ROCm CI Service Account 4ea956e684 SWDEV-318349 - Enable test of graph launched by peer (#2997)
- Enable Unit_hipGraphInstantiateWithFlags_DependencyGraph for AMD.
- Add stream sync for null stream.
- Fix Unit_hipGraphInstantiateWithFlags_DependencyGraph.

change-Id: I5774563fdfed1afd29a43927f3630adbfb75c48a

[ROCm/hip-tests commit: 5db81793b2]
2022-10-19 16:52:06 +05:30
ROCm CI Service Account 28e2c2db5e SWDEV-361129 - [catch2][dtest] Enabling tests hipGraphInstantiateWithFlags for AMD (#2987)
Change-Id: I39227ab51417e55f4ab05c48b61e9735856e58ac

[ROCm/hip-tests commit: 246f0c7d20]
2022-10-19 16:49:18 +05:30
ROCm CI Service Account c9c04d65da SWDEV-306122 - [catch2][dtest] Added test for hipGraphMemcpyNodeSetParamsToSymbol API (#2813)
Change-Id: I486030661324f3fa4d6f6241882f4cd839211511

[ROCm/hip-tests commit: 609edf1c9e]
2022-09-27 13:34:31 +05:30
ROCm CI Service Account c03e57697a SWDEV-306122 - [catch2][dtest] Tests for hipGraphExecChildGraphNodeSetParams API (#2948)
Added Negative and functional tests for hipGraphExecChildGraphNodeSetParams API

Change-Id: Ibe3ab74bc783a90daec153a8c74f039a2f977a71

[ROCm/hip-tests commit: d55c94b77e]
2022-09-23 12:36:45 +05:30
ROCm CI Service Account 2aaa00d2ba SWDEV-306122 - [catch2][dtest] Tests for hipGraphHostNodeGetParams API (#2949)
Added Negative and functional tests for hipGraphHostNodeGetParams API.

Change-Id: Ic9e841875673c10cea9a47f98cd47ff4995f888a

[ROCm/hip-tests commit: c67c3f928b]
2022-09-23 12:35:27 +05:30
ROCm CI Service Account 568c361802 SWDEV-353807 - Fixes multiple catch issues (#2912)
- enforcing c++17 for all tests
- Warning as error: ignoring return value

Change-Id: I3d171540403f74222e631d1a8e393386461c9729


[ROCm/hip-tests commit: d0aaed906d]
2022-08-30 16:53:21 -07:00
ROCm CI Service Account 5b7a6a36e3 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependencies api (#2827)
Change-Id: I017ba7891c84adb4d24d857b31800723bd43ed59

[ROCm/hip-tests commit: 258a7727b0]
2022-07-26 15:09:35 +05:30
ROCm CI Service Account 8d1ab3c5cb SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependentNodes api (#2826)
Change-Id: Ie9a81fa8829d48ace19ac3fa522f957504c3ccc0

[ROCm/hip-tests commit: 095355fe93]
2022-07-26 15:08:04 +05:30
ROCm CI Service Account cb57c0b725 SWDEV-306122 - [catch2][dtest] hipGraphExecMemcpyNodeSetParamsToSymbol API (#2824)
Change-Id: I3f533b88f9fadcb17bde6577212cf1561fa49273

Co-authored-by: mbhiutra <meher.bhiutras@amd.com>

[ROCm/hip-tests commit: 4e1d167d53]
2022-07-26 10:47:49 +05:30
ROCm CI Service Account 4bdb74e287 SWDEV-306122 - [catch2][dtest] hipGraphMemcpyNodeSetParams1D added Functional and Negative test scenario (#2808)
Change-Id: If54fd56ae345ca4a13791bc376b3b72ce5e312b6

[ROCm/hip-tests commit: f4d9c38f1f]
2022-07-19 19:30:42 +05:30
ROCm CI Service Account 5a99103b23 SWDEV-306122 - [catch2][dtest] Added test for hipGraphLaunch API (#2806)
Change-Id: Iee27077a3fb12ec3114843be3d4f408baf8bc559

[ROCm/hip-tests commit: 6e361b1956]
2022-07-19 19:29:00 +05:30
ROCm CI Service Account 55f417dcee SWDEV-327563 - Enable fixed tests linux and windows (#2803)
Change-Id: Icad90d01f796a8a8cf57884b86ca1a5a2b50ec64

[ROCm/hip-tests commit: 1458912363]
2022-07-19 19:28:17 +05:30