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]
This commit is contained in:
Maneesh Gupta
2024-11-21 00:55:24 -05:00
parent a9daa4c8f4
commit 7ff1426782
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -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,