SWDEV-465162 - Fix some issue with image support

Fix some small issues regarding image and mipmap support

Change-Id: I8e64223d44f37c2dbb115cbb343441a48021ba7b
此提交包含在:
taosang2 authored and Tao Sang committed 2024-06-18 16:38:24 -04:00
1 父節點 544c45364f
當前提交 1566ff7639
3 file changed
+18 -5

No files matched your search

+1 -1
查看文件
@@ -921,7 +921,7 @@ amd::Image* ihipImageCreate(const cl_channel_order channelOrder,
const std::vector<amd::Device*>& devices = context.devices();
if (!devices[0]->info().imageSupport_) {
LogPrintfError("Device: 0x%x does not support image", devices[0]);
status = hipErrorInvalidValue;
status = hipErrorNotSupported;
return nullptr;
}