提交图

147 次代码提交

作者 SHA1 备注 提交日期
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 575e4cc93e EXSWHTEC-178 - Implement tests for Graph Event Node APIs #44
Change-Id: Id3f569d94d347af2f5e27513fa01c5a1e8e30fd9
2023-12-20 10:22:01 +00: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
sdashmiz ba8d4d2c61 SWDEV-389652 - re-enable user obj with child graph
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/340

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I3a5fd47221856ac76c58c94f5a2c05bbfd774296
2023-11-24 05:40:02 -05:00
Ioannis Assiouras 5546c951b8 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
2023-11-07 15:46:04 +00:00
mbhiutra 6927bd31ec SWDEV-367611 - [catch2][dtest] Added function and complex scenarios with hipGraphExecUpdate API
Change-Id: I6f6b542783104895f85ab0a1fe6808556435aa2c
2023-11-06 09:23:44 -05:00
kjayapra-amd baaaff9d7f SWDEV-415965 - Fixing uninitialized variable error for pitch_M and
update hipArray in hipGetLastError

Change-Id: I5656eaa666c0472fb852aa0f95ae1b75c98b60ab
2023-10-13 16:25:01 +05:30
sdashmiz e161374c31 SWDEV-332969 - [ABI Break]remove hiparray from tests
- replace with hipArray_t

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie1dade58d868182309caf00bf65a86a8fed2cfa6
2023-10-12 12:09:20 -04: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
Jatin Chaudhary ee3c94faf2 SWDEV-411064 - check if image is supported before running image specific tests
Change-Id: I62b3f7489f2f33b4b4e02f42a46e66c8940f2277
2023-09-21 06:23:55 -04:00
Satyanvesh Dittakavi 605d5eee5d Fix issues related to -Werror in hip tests (#396)
* Fix issues related to -Werror
* Correct the skipped tests
2023-08-19 21:38:59 +05:30
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 34976df246 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
2023-08-14 12:06:14 +05:30
ROCm CI Service Account a23c6a140a SWDEV-366390 - [catch2][dtest] Adding additional functional tests for hipGraphAddChildGraphNode() (#107)
Change-Id: I132141db9d9fee9c8ed3a28f11b2c729042588f0
2023-07-18 13:03:05 +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
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