This patch skips Unit_hipStreamValue_*_Blocking test cases because of a soft hang
Stream write and stream wait passing tests can be enabled in the device
attribute.
Unit_hipStreamValue_*_Blocking tests will be enabled when the hang is fixed
Change-Id: Ieea831162208c4ec172b35a0421c66f6b1a21ed7
1. Remove hipDeviceAttributePageableMemoryAccess checking as it is used to check xnack+ rather than fine-grained synchronization.
Note: hipHostMalloc() will alloc memory with fine-grained access and atomic by default when env HIP_HOST_COHERENT=1. For more information, see hip_programming_guide.
2. Fix some other bugs.
Change-Id: Ieaaed1b15b4d258193d834104b17d9f03a9e4781
- Implement helper classes and functions for memory tests
- Remove c++14 standard constraint on memory tests
- Remove GenerateLinearAllocationFlagCombinations until finished
- 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
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
- 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
- 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
* 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.
- 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
- Add hipEventSynchronize.cc file with positive unit tests: Simple recorded event synchronization and without event recording
- Add newly created file into CMakeLists.txt