SWDEV-475482 - hipTexObjectCreate align with cuda

Support zero width and height for hipTextObjectCreate to align
with cuda.

Change-Id: I5d4c48625faf5f060ed2a7e634ec65e4ecac9da5


[ROCm/clr commit: efce2f77c4]
This commit is contained in:
Rahul Manocha authored and Rahul Manocha committed 2024-11-19 23:28:55 -05:00
1 förälder ee20409853
incheckning 84fb57e7f9
2 files changed
+1 -9

No files matched your search

+1 -1
Visa fil
@@ -1063,7 +1063,7 @@ amd::Image* ihipImageCreate(const cl_channel_order channelOrder,
imageType,
CL_MEM_READ_WRITE,
imageFormat,
imageWidth,
(imageWidth == 0) ? 1 : imageWidth,
(imageHeight == 0) ? 1 : imageHeight,
(imageDepth == 0) ? 1 : imageDepth,
imageRowPitch,