OpenCL: Fix used device pointer as source image data for clEnqueueWriteImage() which is not (guaranteed) to work unless it points to fine-grained SVM allocation.
Fix get1DRegion() had unrelated parameter which effectively caused element size to be ignored.
spirv_channel_descriptor.h had multiple hipCreateChannelDesc() specializations setting incorrect hipChannelFormatKind value. Fix by importing the more recent hipCreateChannelDesc() implementations from the original source (hipamd).
clEnqueueWriteImage()
which is not (guaranteed) to work unless it points to fine-grained SVM allocation.get1DRegion()
had unrelated parameter which effectively caused element size to be ignored.hipCreateChannelDesc()
specializations setting incorrecthipChannelFormatKind
value. Fix by importing the more recenthipCreateChannelDesc()
implementations from the original source (hipamd).DEF_TEX2D_VEC4
macro.