Revert "SWDEV-475482 - hipTexObjectCreate align with cuda"

This reverts commit 84fb57e7f9.

Reason for revert: Even though this change is valid, this would break backward compatibility.

Change-Id: I9c7cab83198c8d5c8485b11194099162e3e7a874


[ROCm/clr commit: ec6f83b544]
此提交包含在:
Maneesh Gupta
2024-11-21 00:55:24 -05:00
父節點 a9daa4c8f4
當前提交 7ff1426782
共有 2 個檔案被更改,包括 9 行新增1 行删除
+1 -1
查看文件
@@ -1063,7 +1063,7 @@ amd::Image* ihipImageCreate(const cl_channel_order channelOrder,
imageType,
CL_MEM_READ_WRITE,
imageFormat,
(imageWidth == 0) ? 1 : imageWidth,
imageWidth,
(imageHeight == 0) ? 1 : imageHeight,
(imageDepth == 0) ? 1 : imageDepth,
imageRowPitch,