Commit Graph

142 Commits

Author SHA1 Message Date
Ioannis Assiouras 3240afb7e1 SWDEV-431291 - Convert variable length arrays to vectors.
In test hipGraphPerf.cc. Using variable length arrays can raise an error
if -Wvla-cxx-extension is enabled.

Change-Id: I66542885b115c53b90348dba1964ffd1b0f3bd9a


[ROCm/hip-tests commit: 5546c951b8]
2023-11-07 15:46:04 +00:00
mbhiutra 0c131f116b SWDEV-367611 - [catch2][dtest] Added function and complex scenarios with hipGraphExecUpdate API
Change-Id: I6f6b542783104895f85ab0a1fe6808556435aa2c


[ROCm/hip-tests commit: 6927bd31ec]
2023-11-06 09:23:44 -05:00
kjayapra-amd 652964079c SWDEV-415965 - Fixing uninitialized variable error for pitch_M and
update hipArray in hipGetLastError

Change-Id: I5656eaa666c0472fb852aa0f95ae1b75c98b60ab


[ROCm/hip-tests commit: baaaff9d7f]
2023-10-13 16:25:01 +05:30
sdashmiz 5760a5449a SWDEV-332969 - [ABI Break]remove hiparray from tests
- replace with hipArray_t

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie1dade58d868182309caf00bf65a86a8fed2cfa6


[ROCm/hip-tests commit: e161374c31]
2023-10-12 12:09:20 -04:00
mbhiutra 350b05a9e3 SWDEV-306122 - [catch2][dtest] Added test for hipGraphMemAllocNodeGetParams, hipGraphMemFreeNodeGetParams APIs
Change-Id: I0b68b6d26e91911acb8c14bd95bb62d6d9688ef4


[ROCm/hip-tests commit: 1ef4b7f4ea]
2023-10-12 10:16:52 -04:00
mbhiutra d8a6f2e16e SWDEV-415965 - [catch2][dtest] Added test for Optimize HIPGraph Performance
Change-Id: I46b1f1d5bea884d6cf335f7e4e09cb453f20a3fe


[ROCm/hip-tests commit: 9a802f36ed]
2023-10-10 00:11:46 -04:00
Jatin Chaudhary cb193f70c4 SWDEV-411064 - check if image is supported before running image specific tests
Change-Id: I62b3f7489f2f33b4b4e02f42a46e66c8940f2277


[ROCm/hip-tests commit: ee3c94faf2]
2023-09-21 06:23:55 -04:00
Satyanvesh Dittakavi 039a0b615a Fix issues related to -Werror in hip tests (#396)
* Fix issues related to -Werror
* Correct the skipped tests

[ROCm/hip-tests commit: 605d5eee5d]
2023-08-19 21:38:59 +05:30
ROCm CI Service Account 0861ca0d21 SWDEV-396687 - [catch2][dtest] mixing manual node adding in combination with Begin/End capture based on hipGraph apis (#326)
Change-Id: Ife7de38956274895d2370b7c9032cf17eef287bc

[ROCm/hip-tests commit: b2041d42d8]
2023-08-14 20:59:59 +05:30
ROCm CI Service Account d3b771c91d SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests (#363)
* SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests env vars such as HIP_PATH, ROCM_PATH, HIP_COMPILER, HIP_RUNTIME, HSA_PATH etc are removed.

Change-Id: I280e20b291cfb14675846aae72d97fa5b3ad567d

[ROCm/hip-tests commit: 34976df246]
2023-08-14 12:06:14 +05:30
ROCm CI Service Account bd120fef5a SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphAddChildGraphNode() (#107)
Change-Id: I132141db9d9fee9c8ed3a28f11b2c729042588f0

[ROCm/hip-tests commit: a23c6a140a]
2023-07-18 13:03:05 +05:30
ROCm CI Service Account e93c1dd330 SWDEV-377322- [catch2][dtest] Added functional tests for the API hipGraphAddKernelNode (#344)
Change-Id: I693402be766f9cdc9369a92dc1fa5196ffd4d9b7

[ROCm/hip-tests commit: 8fe180bfdb]
2023-07-08 20:54:08 +05:30
Jatin Chaudhary 362da9a9f1 SWDEV-408621 - Fix windows CI breakage (#343)
Change-Id: I8e7f8b614cee917214c3eec0023fe1c4c68d991a

[ROCm/hip-tests commit: fe9515a99a]
2023-07-04 10:49:19 +05:30
ROCm CI Service Account 56ed440ee5 SWDEV-379359 - [catch2][dtest] hipGraphKernelNodeSetAttribute API test (#325)
Change-Id: Iff63f523301031fc3f01b84475b9ee3c0a5bb236

[ROCm/hip-tests commit: 961435236f]
2023-06-29 08:59:20 +05:30
ROCm CI Service Account 2c456ea6b7 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

[ROCm/hip-tests commit: c24c6674ae]
2023-06-29 08:57:20 +05:30
milos-mozetic a8f65237eb 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

[ROCm/hip-tests commit: d0295c4295]
2023-06-28 09:44:00 +05:30
Mirza Halilčević 1a4276bfed 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.

[ROCm/hip-tests commit: 9f5bb4219a]
2023-06-28 09:34:52 +05:30
ROCm CI Service Account 15a040f227 SWDEV-396617 - updating test (#280)
Change-Id: Ibfe2a57cc04e100a75d9754d96ceb63c52c90417

[ROCm/hip-tests commit: 8ac31a8c97]
2023-06-21 16:40:29 -07:00
ROCm CI Service Account 331a2815a7 SWDEV-389399 - [catch2][dtest] Adding hipStreamSynchronize scenarios when streams are in capturing mode (#270)
Change-Id: Ib2f919d84f6acc136db582ca0ac717634e8e5be9

[ROCm/hip-tests commit: b65b09234d]
2023-06-21 15:59:45 +05:30
ROCm CI Service Account c9506ac855 SWDEV-388950 - updating test (#250)
Change-Id: I402542b53a84203a8f047534e40e3571bf1eb0c3

[ROCm/hip-tests commit: e7348b1f04]
2023-06-21 15:58:27 +05:30
ROCm CI Service Account 1007b40dbe SWDEV-373476 - [catch2][dtest] hipGraphDebugDotPrint API test case added with supported type of nodes (#248)
Change-Id: Id910fabd651a28863e67fe497cd832d8b1ea7802

[ROCm/hip-tests commit: 82e874fc0b]
2023-06-21 15:58:15 +05:30
ROCm CI Service Account bd4456f502 SWDEV-373476 - [catch2][dtest] hipGraphKernelNodeCopyAttributes API test (#247)
Change-Id: I2ee5e21a438fbd7f7f96f2798039f9631881e25d

[ROCm/hip-tests commit: 031a15e32f]
2023-06-21 15:58:04 +05:30
ROCm CI Service Account 05426bc22f SWDEV-379359 - [catch2][dtest] hipGraphKernelNodeGetAttribute API test (#246)
Change-Id: Ief701260ec1031019986f6afe87b43777830e5be

[ROCm/hip-tests commit: 1b4f3bbc99]
2023-06-21 15:57:52 +05:30
ROCm CI Service Account 7c8319cdbd SWDEV-389647 - correct typo. (#245)
Change-Id: I4fe492851c110d47244c599a4ceea62380544f8f

[ROCm/hip-tests commit: 779a7ba03d]
2023-06-21 15:57:40 +05:30
ROCm CI Service Account e42f621831 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

[ROCm/hip-tests commit: fd758200e5]
2023-06-21 15:56:36 +05:30
ROCm CI Service Account f4849d71d7 SWDEV-372504 - [catch2][dtest] Added additional functional tests for the API hipGraphAddMemcpyNode() and hipGraphAddMemcpyNode1D() (#146)
Change-Id: I5bd0f8540adf4938606d650863e5e31e6a6aaff8

[ROCm/hip-tests commit: 17d3f51eff]
2023-06-21 11:53:18 +05:30
ROCm CI Service Account 130122e787 SWDEV-366390 - [catch2][dtest] Added additional functional tests for the API hipGraphLaunch() (#140)
Change-Id: I47f299731ee19428dca62d1a2d67569fdcd5bf11

[ROCm/hip-tests commit: 16e9c911ff]
2023-06-21 11:53:01 +05:30
ROCm CI Service Account e38f1799ec SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphAddEmptyNode() (#106)
Change-Id: Ibc2f72280a0c4f50c7d28acd5e5de4b6e835a3d6

[ROCm/hip-tests commit: cbf80dda94]
2023-06-21 11:52:37 +05:30
Mirza Halilčević 4b9ecff000 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.

[ROCm/hip-tests commit: 973109fec0]
2023-06-21 11:52:14 +05:30
ROCm CI Service Account f60f737184 SWDEV-385487 - [catch2][dtest] hipGraphInstantiateWithFlags API with hipGraphInstantiateFlagAutoFreeOnLaunch flag call (#213)
Change-Id: Ib96f796416d4e3190315f81432500e63876e78c0

[ROCm/hip-tests commit: 6adef2989a]
2023-04-25 10:55:21 +05:30
ROCm CI Service Account 3a8e259c55 SWDEV-373476 - [catch2][dtest] hipGraphNodeGetEnabled API test case added few more graph scenarios (#199)
Change-Id: Ibd119135acb9e4fba97d320a93333604f176ee30

[ROCm/hip-tests commit: 07260cf7e7]
2023-03-24 16:00:08 +05:30
ROCm CI Service Account 9336d06a8b SWDEV-373476 - [catch2][dtest] hipGraphNodeSetEnabled API test case added few more graph scenarios (#198)
Change-Id: Iff3bb5b937117a89cb6dbe0229a27fe11bcaa6e0

[ROCm/hip-tests commit: 993eeb955f]
2023-03-24 15:59:35 +05:30
ROCm CI Service Account 22fc2dd74b SWDEV-357695 - [catch2][dtest] hipGraphKernelNodeCopyAttributes API test (#90)
Change-Id: I8a7494cbb056df8b2b6b0bf5810f67e4eed4db7b

[ROCm/hip-tests commit: 2cf38e9e33]
2023-03-24 15:59:08 +05:30
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