Revert "SWDEV-475482 - hipTexObjectCreate align with cuda"

This reverts commit efce2f77c4.

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

Change-Id: I9c7cab83198c8d5c8485b11194099162e3e7a874
Αυτή η υποβολή περιλαμβάνεται σε:
Maneesh Gupta committed 2024-11-21 00:55:32 -05:00
1 γονέας 9473f143c2
υποβολή ec6f83b544
2 files changed
+9 -1

No files matched your search

@@ -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,