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
2023-12-15 14:53:16 -08:00
提交者 Rakesh Roy
父節點 c6d3505d63
當前提交 d92abdd926
+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));