SWDEV-390626 - Support surface Apis

Change-Id: I1691b82d597bfd722d562778f919ebf8ca530e90


[ROCm/clr commit: 53742adc08]
このコミットが含まれているのは:
taosang2 authored and Maneesh Gupta committed 2023-04-05 16:38:04 +00:00
1 親 56dedad98b
コミット 769f1e166e
3ファイル変更
+11 -12

検索条件に一致するファイルはありません

-5
ファイルの表示
@@ -998,11 +998,6 @@ hipError_t ihipArrayCreate(hipArray** array,
return hipErrorInvalidValue;
}
if ((pAllocateArray->Flags & hipArraySurfaceLoadStore) ||
(pAllocateArray->Flags & hipArrayTextureGather)) {
return hipErrorNotSupported;
}
const cl_channel_order channelOrder = hip::getCLChannelOrder(pAllocateArray->NumChannels, 0);
const cl_channel_type channelType = hip::getCLChannelType(pAllocateArray->Format, hipReadModeElementType);
const cl_mem_object_type imageType = hip::getCLMemObjectType(pAllocateArray->Width,