SWDEV-475482 - [6.4 Preview] Match hipTexObjectCreate with cuda (#408)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
This commit is contained in:
zatwierdzone przez
GitHub
rodzic
988c42a6e1
commit
b5e9bc55cb
@@ -1093,7 +1093,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,
|
||||
|
||||
Reference in New Issue
Block a user