Commit Graph

1642 Commits

Author SHA1 Message Date
Maneesh Gupta 47df29a9d0 SWDEV-1 - Add missing checks in MemUtils.hh 2022-10-11 11:58:41 +05:30
Maneesh Gupta 7fc4b7d6f4 SWDEV-1 - Add missing checks in hipDrvMemcpy3D.cc 2022-10-11 11:15:26 +05:30
Maneesh Gupta 172c6d78a9 SWDEV-1 - Add missing checks in hipMemcpyAsync.cc 2022-10-11 11:13:42 +05:30
Maneesh Gupta 4a745feb5f SWDEV-1 - Add missing checks in hipMemcpy.cc 2022-10-11 10:50:43 +05:30
Maneesh Gupta e16ec66c0f SWDEV-1 - Add missing checks in hipMemcpyAsync.cc 2022-10-11 10:44:04 +05:30
Maneesh Gupta 5afd5f6600 SWDEV-1 - Add missing checks in hipMemsetFunctional.cc 2022-10-11 10:42:36 +05:30
Maneesh Gupta a371c15120 SWDEV-1 - Add missing checks in hipMemcpyPeerAsync.cc 2022-10-11 10:31:40 +05:30
Maneesh Gupta d896d6b2ee SWDEV-1 - Add missing checks in hipMemcpyPeer.cc 2022-10-11 10:27:42 +05:30
Maneesh Gupta d632c8272e SWDEV-1 - Add missing checks in hipMemset2D.cc 2022-10-11 09:56:00 +05:30
Maneesh Gupta 1dc36ddc7c SWDEV-1 - Add missing checks in hipMemset.cc 2022-10-11 09:16:13 +05:30
Maneesh Gupta eda2e499b3 SWDEV-1 - Add missing checks in hipMemsetNegative.cc 2022-10-11 09:14:00 +05:30
Maneesh Gupta 3940d3cd9c SWDEV-1 - Add missing checks in hipMallocManaged_MultiScenario.cc 2022-10-11 08:54:25 +05:30
Maneesh Gupta 27193f755b SWDEV-1 - Add missing checks in hipMemcpy_MultiThread.cc 2022-10-11 08:53:04 +05:30
Maneesh Gupta 3d349720b7 SWDEV-1 - Add missing checks in hipMemcpyAllApiNegative.cc 2022-10-11 08:50:32 +05:30
Maneesh Gupta fba4cedc33 SWDEV-1 - Add missing checks in hipMemcpy2DFromArrayAsync.cc 2022-10-11 08:30:38 +05:30
Maneesh Gupta e99cd4b50a SWDEV-1 - Add missing checks in hipMemcpy2DFromArray.cc 2022-10-11 08:29:39 +05:30
Maneesh Gupta f44eab9603 SWDEV-1 - Add missing checks in hipMemcpy2DAsync.cc 2022-10-11 08:28:19 +05:30
Maneesh Gupta 0492446e87 SWDEV-1 - Add missing checks in hipMemcpy2D.cc 2022-10-11 08:26:52 +05:30
Maneesh Gupta 2b3432ab03 SWDEV-1 - Add missing checks in hipMemcpyParam2DAsync.cc 2022-10-10 22:05:39 +05:30
Maneesh Gupta a5b61aac74 SWDEV-1 - Add missing checks in hipMemcpy3DAsync.cc 2022-10-10 21:22:01 +05:30
Maneesh Gupta 7cac37358a SWDEV-1 - Add missing checks in hipMemcpy2DToArrayAsync.cc 2022-10-10 20:54:27 +05:30
Maneesh Gupta 37dac38f54 SWDEV-1 - Add missing checks in memset.cc 2022-10-10 16:15:08 +05:30
Maneesh Gupta 86d99b5ee6 SWDEV-1 - Add missing checks in hipMemcpy2DToArray.cc 2022-10-10 16:14:04 +05:30
nives-vukovic 7fa9b1746c EXSWHTEC-40 - Implement additional Stream Management negative tests (#2922)
- Implement negative test for hipStream<Write/Wait>Value when stream is uninitialized
- Implement negative test for hipStreamSynchronize when stream is uninitialized
- Invalid flag negative test for hipStreamWriteValue API removed as flag parameter is not used
2022-10-10 13:18:49 +05:30
agunashe 25c18cbcf3 SWDEV-327563 - skip tests for windows (#2977)
* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithPendingWork
Unit_hipStreamWaitEvent_DifferentStreams

* SWDEV-327563 - skip tests for windows

leading spaces

* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithFinishedWork
2022-10-06 09:53:38 -07:00
Paulius Velesko c02b15fc7c Catch2 Test Fixes (#2961)
* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments
2022-09-30 15:07:25 -07:00
ROCm CI Service Account a1481d542b SWDEV-306122 - [catch2][dtest] Added test for hipGraphMemcpyNodeSetParamsToSymbol API (#2813)
Change-Id: I486030661324f3fa4d6f6241882f4cd839211511
2022-09-27 13:34:31 +05:30
ROCm CI Service Account 05281fda8c SWDEV-354273 - Add unit test of sRGB in 1D (#2968)
Add unit test of sRGB for 1DArray(hipResourceTypeArray) and 1DBuffer(hipResourceTypeLinear).
Note that for 1Dbuffer, AMD devices doesn't support sRGB, thus the test is a negative test.

Change-Id: Ib604cf6f3abd3b90813def1d563c53d42328bace
2022-09-27 10:34:57 +05:30
ROCm CI Service Account f494acdfd0 SWDEV-351054 - Fix error code. (#2966)
- Remove memory track checks.
- Need to skip checking if mem allocation is 0 and remove unused variable.
- hipMemAllocPitch is driver API hence explicit init is required on NVidia platform.

Change-Id: Ie0d35d4901271a3466a50aaee26e67e7f91c8a2f
2022-09-27 10:34:36 +05:30
ROCm CI Service Account 2d53608d49 SWDEV-331160 - [catch2][dtest] Test cases to test api hipDeviceSetLimit() (#2863)
Change-Id: Ifb78392b55b60ce8b3eb7822a0b32c8fac8cc594
2022-09-26 19:49:00 +05:30
nives-vukovic 5bf0dbe5ad EXSWHTEC-15 - Implement additional HipEventElapsedTime tests (#2903)
- Fix minor bug in helper test function in Unit_hipEvent.cc
- Move negative test from Unit_hipEventElapsedTime_DifferentDevices to Unit_hipEventRecord_Negative
- Add Unit_hipEventElapsedTime_NotReady_Negative test when function is called on event that has not been completed
2022-09-26 13:47:12 +05:30
Mirza Halilčević 8cb701166d EXSWHTEC-4 - Implement printing of certain device information (#2884)
* Implement printing out of device count to standard output
* Implement printing out of device attributes retrieved by hipDeviceGetAttribute.
* Implement printing of device properties retrieved by hipGetDeviceProperties.
2022-09-26 13:46:38 +05:30
nives-vukovic 4afc7866b5 EXSWHTEC-37 - Expand tests for hipStreamQuery (#2921)
- Add testing for null stream in Unit_hipStreamQuery_WithNoWork
- Add testing for null stream in Unit_hipStreamQuery_WithFinishedWork
2022-09-26 11:03:30 +05:30
nives-vukovic d60b65b5dc EXSWHTEC-24 - Fix issues and refactor code in Stream Management tests (#2916)
- Fix bug in calculation of normal priority in Unit_hipStreamGetPriority_StreamsWithCUMask tests
- Delete duplicate test Unit_hipStreamGetPriority_InvalidPriorityPointer
- Separate Unit_hipStreamAddCallback_ParamTst into positive and negative test
- Remove Unit_hipStreamDestroy_Negative_DoubleDestroy test for Nvidia devices due to error
2022-09-26 11:03:18 +05:30
nives-vukovic 66471b01c9 EXSWHTEC-18 - Implement positive test for hipDeviceGetStreamPriorityRange (#2911)
- Add hipDeviceGetStreamPriorityRange.cc file with a test for simple device stream priority range check
- Add newly created file into CMakeLists.txt
2022-09-26 11:02:49 +05:30
nives-vukovic 7b8feec246 EXSWHTEC-16 - Implement hipEventSynchronize tests (#2904)
- Add hipEventSynchronize.cc file with positive unit tests: Simple recorded event synchronization and without event recording
- Add newly created file into CMakeLists.txt
2022-09-26 11:02:00 +05:30
ROCm CI Service Account 2e641ee60b SWDEV-339488 - Catch2 test for hipRTC include path (#2898)
* SWDEV-339488 - Catch2 test for hipRTC include path

Change-Id: I1f5502d1ea72ac4133f79207f2d60f86b934cf36
2022-09-26 07:39:45 +05:30
ROCm CI Service Account c5ba2bb196 SWDEV-350985 - Address hipIpcEventHandle test failure on MI200 (#2926)
Change-Id: Ie9a278caccbcc98bfa99968bc8ad974f83b2ee98
2022-09-26 07:39:26 +05:30
ROCm CI Service Account dc386a0805 SWDEV-351055 - Enable hipMallocArray and hipArrayCreate happy cases, disabling a REQUIRE case (#2929)
Change-Id: Ie5eb423d1c1b9b32101c9a9fae4c372612839c4d
2022-09-26 07:38:59 +05:30
ROCm CI Service Account 2b09d94ea2 SWDEV-287351 - Fix hipStreamWithCUMask hang on Navi21 (#2939)
- For gfx >= 10, one work group processor encompasses 2 CUs & hence the CUs need to be enabled in pair

Change-Id: I359df1b221b4400b260b02201b7b0385054784f3
2022-09-23 12:37:42 +05:30
ROCm CI Service Account 8c8499be77 SWDEV-344309 - Enable some filter tests in Windows (#2944)
Enable tests that should work now

Change-Id: I903d7e73d7b5df94da72cb41f2bde9ab2eec653d
2022-09-23 12:37:25 +05:30
ROCm CI Service Account cd0d73d3f1 SWDEV-306122 - [catch2][dtest] Tests for hipGraphExecChildGraphNodeSetParams API (#2948)
Added Negative and functional tests for hipGraphExecChildGraphNodeSetParams API

Change-Id: Ibe3ab74bc783a90daec153a8c74f039a2f977a71
2022-09-23 12:36:45 +05:30
ROCm CI Service Account cac4154ddf SWDEV-306122 - [catch2][dtest] Tests for hipGraphHostNodeGetParams API (#2949)
Added Negative and functional tests for hipGraphHostNodeGetParams API.

Change-Id: Ic9e841875673c10cea9a47f98cd47ff4995f888a
2022-09-23 12:35:27 +05:30
ROCm CI Service Account 411a00b232 SWDEV-312707 - Avoid Char[] memory corrption on high GPU systems by increasing array size. (#2954)
Change-Id: Ia743e87d4cbcc9ccaa9e782109114dd878ab8b0d
2022-09-23 12:35:04 +05:30
ROCm CI Service Account cd1e9a2775 SWDEV-351033 - Enable test - Unit_hipHostUnregister_* (#2897)
Change-Id: Ibcde7a127546941fe1fc65ce2250dfdd2b24d88c
2022-09-22 21:15:27 +05:30
ROCm CI Service Account 0aea7409f0 SWDEV-351282 - Enable test - Unit_hipArray3DCreate_Negative_NullDescPtr (#2896)
Change-Id: I162db667e0557e172638dc6c0dc6ea82ac7db564
2022-09-22 21:14:40 +05:30
ROCm CI Service Account 7d705d800a SWDEV-351192 - Enable test - Unit_hipMalloc3DArray_MaxTexture (#2892)
Change-Id: Ie10d63a8a39ac5aabd6eae078f0423375cd7d230
2022-09-22 21:14:13 +05:30
ROCm CI Service Account c74e0fc355 SWDEV-351225 - Enable test - Unit_hipArrayCreate_Nullptr (#2891)
Change-Id: Ib9d43e0285ec50fdbf3ae05ed0d107b27280bfb0
2022-09-22 21:13:44 +05:30
ROCm CI Service Account 446a4372bc SWDEV-351031 - Enable test - Unit_hipHostRegister_Flags (#2890)
Change-Id: I7048699272a40962b12619ffdf22cc17053400f2
2022-09-22 21:13:04 +05:30
ROCm CI Service Account 900ae2cc95 SWDEV-351285 - Enable test - Unit_hipMemGetInfo_Negative (#2869)
Change-Id: Ie3039eb458aedd276d85bc9e44f62e994c7be4c8
2022-09-22 21:12:28 +05:30