Commit Graph

673 Commits

Author SHA1 Message Date
Maneesh Gupta fcd62616da SWDEV-1 - Add missing checks in hipMemcpy2DAsync.cc
[ROCm/hip-tests commit: 1d1a4ddd3c]
2022-10-11 08:28:19 +05:30
Maneesh Gupta 8b4ef43ae4 SWDEV-1 - Add missing checks in hipMemcpy2D.cc
[ROCm/hip-tests commit: 8d0e6fd39f]
2022-10-11 08:26:52 +05:30
Maneesh Gupta 5de2494109 SWDEV-1 - Add missing checks in hipMemcpyParam2DAsync.cc
[ROCm/hip-tests commit: 2dc231ed4c]
2022-10-10 22:05:39 +05:30
Maneesh Gupta ff6057a012 SWDEV-1 - Add missing checks in hipMemcpy3DAsync.cc
[ROCm/hip-tests commit: 2f82bf3e36]
2022-10-10 21:22:01 +05:30
Maneesh Gupta 8fbdd2eb87 SWDEV-1 - Add missing checks in hipMemcpy2DToArrayAsync.cc
[ROCm/hip-tests commit: 4f5e85735b]
2022-10-10 20:54:27 +05:30
Maneesh Gupta 464596a377 SWDEV-1 - Add missing checks in memset.cc
[ROCm/hip-tests commit: 4d588564ad]
2022-10-10 16:15:08 +05:30
Maneesh Gupta 38bb87ae09 SWDEV-1 - Add missing checks in hipMemcpy2DToArray.cc
[ROCm/hip-tests commit: 60bf95dc23]
2022-10-10 16:14:04 +05:30
nives-vukovic abfa6877ba 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

[ROCm/hip-tests commit: 17feaa555d]
2022-10-10 13:18:49 +05:30
agunashe d6e67b33e5 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

[ROCm/hip-tests commit: 5dc822afcd]
2022-10-06 09:53:38 -07:00
Paulius Velesko 65a428aaff Catch2 Test Fixes (#2961)
* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments


[ROCm/hip-tests commit: da453211ed]
2022-09-30 15:07:25 -07:00
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 94c0dbb1e0 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

[ROCm/hip-tests commit: 67c2b50382]
2022-09-27 10:34:57 +05:30
ROCm CI Service Account aafd9267bd 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

[ROCm/hip-tests commit: ccfa4fa995]
2022-09-27 10:34:36 +05:30
ROCm CI Service Account 0fc914ca05 SWDEV-331160 - [catch2][dtest] Test cases to test api hipDeviceSetLimit() (#2863)
Change-Id: Ifb78392b55b60ce8b3eb7822a0b32c8fac8cc594

[ROCm/hip-tests commit: b95baa3a18]
2022-09-26 19:49:00 +05:30
nives-vukovic 9989a958c6 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

[ROCm/hip-tests commit: f72a34b807]
2022-09-26 13:47:12 +05:30
Mirza Halilčević 68b3eed631 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.

[ROCm/hip-tests commit: 51a22bb085]
2022-09-26 13:46:38 +05:30
nives-vukovic 5ce32f14ab 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

[ROCm/hip-tests commit: 4795cc6265]
2022-09-26 11:03:30 +05:30
nives-vukovic 2570d7501b 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

[ROCm/hip-tests commit: 968e21cd1f]
2022-09-26 11:03:18 +05:30
nives-vukovic 64b7fa1b80 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

[ROCm/hip-tests commit: 26d316a250]
2022-09-26 11:02:49 +05:30
nives-vukovic 9e373a398f 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

[ROCm/hip-tests commit: bc83dae816]
2022-09-26 11:02:00 +05:30
ROCm CI Service Account 440621fe3d SWDEV-339488 - Catch2 test for hipRTC include path (#2898)
* SWDEV-339488 - Catch2 test for hipRTC include path

Change-Id: I1f5502d1ea72ac4133f79207f2d60f86b934cf36

[ROCm/hip-tests commit: 0e309ebc9e]
2022-09-26 07:39:45 +05:30
ROCm CI Service Account c021b5fe49 SWDEV-350985 - Address hipIpcEventHandle test failure on MI200 (#2926)
Change-Id: Ie9a278caccbcc98bfa99968bc8ad974f83b2ee98

[ROCm/hip-tests commit: 7a558e2398]
2022-09-26 07:39:26 +05:30
ROCm CI Service Account 3118439c59 SWDEV-351055 - Enable hipMallocArray and hipArrayCreate happy cases, disabling a REQUIRE case (#2929)
Change-Id: Ie5eb423d1c1b9b32101c9a9fae4c372612839c4d

[ROCm/hip-tests commit: e25d5a3038]
2022-09-26 07:38:59 +05:30
ROCm CI Service Account 737e74156f 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

[ROCm/hip-tests commit: 3af54da059]
2022-09-23 12:37:42 +05:30
ROCm CI Service Account 9c8b7e3bda SWDEV-344309 - Enable some filter tests in Windows (#2944)
Enable tests that should work now

Change-Id: I903d7e73d7b5df94da72cb41f2bde9ab2eec653d

[ROCm/hip-tests commit: cf6ddc78b8]
2022-09-23 12:37:25 +05:30
ROCm CI Service Account 89c85347d5 SWDEV-344342 - Add sample using hiprtc target (#2946)
Change-Id: Ie2a0b308862ac8db2e72a0170499139c7b46605b

[ROCm/hip-tests commit: de14b1ce6d]
2022-09-23 12:36:57 +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 5833ce2f14 SWDEV-351033 - Enable test - Unit_hipHostUnregister_* (#2897)
Change-Id: Ibcde7a127546941fe1fc65ce2250dfdd2b24d88c

[ROCm/hip-tests commit: d24eb27b81]
2022-09-22 21:15:27 +05:30
ROCm CI Service Account 80fe371813 SWDEV-351282 - Enable test - Unit_hipArray3DCreate_Negative_NullDescPtr (#2896)
Change-Id: I162db667e0557e172638dc6c0dc6ea82ac7db564

[ROCm/hip-tests commit: 0ef8196de7]
2022-09-22 21:14:40 +05:30
ROCm CI Service Account 8271ffca6f SWDEV-351192 - Enable test - Unit_hipMalloc3DArray_MaxTexture (#2892)
Change-Id: Ie10d63a8a39ac5aabd6eae078f0423375cd7d230

[ROCm/hip-tests commit: 48c4089021]
2022-09-22 21:14:13 +05:30
ROCm CI Service Account af909bebf4 SWDEV-351225 - Enable test - Unit_hipArrayCreate_Nullptr (#2891)
Change-Id: Ib9d43e0285ec50fdbf3ae05ed0d107b27280bfb0

[ROCm/hip-tests commit: b98e00b60d]
2022-09-22 21:13:44 +05:30
ROCm CI Service Account d9bb3797fa SWDEV-351031 - Enable test - Unit_hipHostRegister_Flags (#2890)
Change-Id: I7048699272a40962b12619ffdf22cc17053400f2

[ROCm/hip-tests commit: f5bc878b5f]
2022-09-22 21:13:04 +05:30
ROCm CI Service Account f690c9bd94 SWDEV-351285 - Enable test - Unit_hipMemGetInfo_Negative (#2869)
Change-Id: Ie3039eb458aedd276d85bc9e44f62e994c7be4c8

[ROCm/hip-tests commit: 176ca33b4c]
2022-09-22 21:12:28 +05:30
ROCm CI Service Account fba551cb60 SWDEV-327563 - Enable fixed tests linux and windows v3 (#2943)
Change-Id: Ia5c47821268d7f31b70c473ef2a4785b6735a2f1


[ROCm/hip-tests commit: e8eb0f375f]
2022-09-21 11:59:06 -07:00
Satyanvesh Dittakavi b56b4e4d16 SWDEV-355959 - Remove the invalid test Unit_hipStreamPerThread_CoopLaunchMDev (#2952)
[ROCm/hip-tests commit: 32cc365ede]
2022-09-21 14:16:46 +05:30
ROCm CI Service Account 39267ec23c SWDEV-351279 - Enable test (#2862)
Change-Id: Ia7f55de36f91a580f45e19a7c51f8e60f4aa59c6

[ROCm/hip-tests commit: 1545bed384]
2022-09-19 11:04:04 -07:00
Mirza Halilčević 3acafe7451 EXSWHTEC-5 - Implement additional test for hipSetDevice (#2874)
- Test functionality in multithreaded environment.

Signed-off-by: Dino Music <dino.music@htecgroup.com>
Co-authored-by: Mirza Halilcevic <mirza.halilcevic@htecgroup.com>

[ROCm/hip-tests commit: 9e03f14592]
2022-09-19 21:56:03 +05:30
Mirza Halilčević 55ad764e70 EXSWHTEC-5, EXSWHTEC-7 - Implement abstraction for multithreaded tests (#2887)
* Implement abstraction for multithreaded tests.

Signed-off-by: Dino Music <dino.music@htecgroup.com>
Co-authored-by: Mirza Halilcevic <mirza.halilcevic@htecgroup.com>

[ROCm/hip-tests commit: 960f396180]
2022-09-19 20:54:45 +05:30
Mirza Halilčević f15e807ba8 EXSWHTEC-11 - Implement tests for hipExtGetLinkTypeAndHopCount (#2878)
- Validate hop count and verify that the API is commutative
- Negative parameter tests.

Signed-off-by: Dino Music <dino.music@htecgroup.com>
Co-authored-by: Mirza Halilcevic <mirza.halilcevic@htecgroup.com>

[ROCm/hip-tests commit: 132a54564e]
2022-09-19 11:28:35 +05:30
ROCm CI Service Account 7b40764dfb SWDEV-341744 - Accept error code hipErrorInvalidDevicePointer in hipTest (#2950)
When calling hipIpcOpenMemHandle with an unitialized handle, function can also return hipErrorInvalidDevicePointer

Change-Id: Ic55ea9c61edeb998870cf6a34f7c80123569fecb

[ROCm/hip-tests commit: c66407bed0]
2022-09-19 11:19:03 +05:30
ROCm CI Service Account 2f3ec196c2 SWDEV-1 - Move sample 0 gitignore into root's (#2951)
The samples directory tree is installed as-is during packaging. To avoid this file from being installed, the sample gitignores should be combined with the existing file in the root of the git.

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: I2ac30c8d0e42da9254b87cd45127503c70fc6b07

[ROCm/hip-tests commit: cf87128628]
2022-09-19 11:17:54 +05:30
ROCm CI Service Account 5d8000bfc5 SWDEV-351200 - Enable test. (#2861)
Change-Id: I454013872eff7c5047b70860e1917e8e7ce6d482

[ROCm/hip-tests commit: a55399f507]
2022-09-16 13:56:06 -07:00
ROCm CI Service Account 27235f2def SWDEV-345020 - Enable test cases after fix. (#2833)
Change-Id: I7ac1352e2442638e7156b05429fc4feef3af8e3f


[ROCm/hip-tests commit: 627372dd20]
2022-09-16 11:25:30 -07:00
ROCm CI Service Account 55da06237e SWDEV-349490 - Add unit test of sRGB (#2940)
Add unit test of sRGB.
Update helper functions to accomodate uchar4 and float4.
Change-Id: Ib604cf603ab63b908130ef1c562c53d42328bacf


[ROCm/hip-tests commit: 30fcb99268]
2022-09-15 21:04:57 -07:00
ROCm CI Service Account 767ec039e2 SWDEV-340649 - Test case not valid anymore (#2928)
Change-Id: I87bf19a3f4fe9966b66fad10c7371d60c3e25469


[ROCm/hip-tests commit: a8c0fa145d]
2022-09-12 21:06:32 -07:00
nives-vukovic 41e09a2681 EXSWHTEC-14 - Implement tests for hipEventCreateWithFlags (#2902)
- Add hipEventCreateWithFlags.cc with a simple positive unit test
- Divide Unit_hipEventCreate_NullCheck into two separate tests

Signed-off-by: Nives Vukovic <nives.vukovic@htecgroup.com>

[ROCm/hip-tests commit: 613301ce68]
2022-09-12 20:29:42 +05:30
ROCm CI Service Account 723f0c9f5c SWDEV-353807 - Fix deviceLib tests build when build/execution node is same (#2933)
Change-Id: I4eccc4b6dce755cd49e8eff6df6393d2a8c552f5

[ROCm/hip-tests commit: 0f7572b4c9]
2022-09-12 11:53:15 +05:30
ROCm CI Service Account afa81f6a0b SWDEV-346579 - MI2xx skip build/execution hipArrayCreate.cc/hipMallocArray.cc (#2917)
Change-Id: I3a39d541e8ac8b565cccc1b08403e0110edc471d


[ROCm/hip-tests commit: 2b6a2d84fc]
2022-09-07 13:10:20 -07:00
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