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
Цей коміт міститься в:
Todd tiantuo Li authored and Rakesh Roy committed 2024-01-19 01:43:54 -05:00
1 джерело c6d3505d63
коміт d92abdd926
1 file changed
+2
+2
Переглянути файл
@@ -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));