SWDEV-432490 - Skip checking data error in hipArrayCreate test accordingly.
Because the kernel readFromTexture will be empty when there is no image support. Change-Id: I5ce72e147188a2e9a84e9797811ed946362ccf2c
This commit is contained in:
committed by
Rakesh Roy
parent
c6d3505d63
commit
d92abdd926
@@ -188,7 +188,9 @@ void testArrayAsTexture(hipArray_t array, const size_t width, const size_t heigh
|
||||
std::fill(std::begin(hostData), std::end(hostData), 0);
|
||||
HIP_CHECK(hipMemcpy(hostData.data(), device_data, size, hipMemcpyDeviceToHost));
|
||||
|
||||
#if !defined(__HIP_NO_IMAGE_SUPPORT) || !__HIP_NO_IMAGE_SUPPORT
|
||||
checkDataIsAscending(hostData);
|
||||
#endif
|
||||
|
||||
// clean up
|
||||
HIP_CHECK(hipTexObjectDestroy(textObj));
|
||||
|
||||
Reference in New Issue
Block a user