- 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]
* 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]
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]
- 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]
- 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]
* 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]
- Add testing for null stream in Unit_hipStreamQuery_WithNoWork
- Add testing for null stream in Unit_hipStreamQuery_WithFinishedWork
[ROCm/hip-tests commit: 4795cc6265]
- 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]
- 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]
- 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]
- 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]
Added Negative and functional tests for hipGraphExecChildGraphNodeSetParams API
Change-Id: Ibe3ab74bc783a90daec153a8c74f039a2f977a71
[ROCm/hip-tests commit: d55c94b77e]
When calling hipIpcOpenMemHandle with an unitialized handle, function can also return hipErrorInvalidDevicePointer
Change-Id: Ic55ea9c61edeb998870cf6a34f7c80123569fecb
[ROCm/hip-tests commit: c66407bed0]
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]
Add unit test of sRGB.
Update helper functions to accomodate uchar4 and float4.
Change-Id: Ib604cf603ab63b908130ef1c562c53d42328bacf
[ROCm/hip-tests commit: 30fcb99268]
- 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]
- enforcing c++17 for all tests
- Warning as error: ignoring return value
Change-Id: I3d171540403f74222e631d1a8e393386461c9729
[ROCm/hip-tests commit: d0aaed906d]