SWDEV-465162 - Fix some issue with image support

Fix some small issues regarding image and mipmap support

Change-Id: I8e64223d44f37c2dbb115cbb343441a48021ba7b
This commit is contained in:
taosang2
2024-06-10 17:11:08 -04:00
committato da Tao Sang
parent 544c45364f
commit 1566ff7639
3 ha cambiato i file con 18 aggiunte e 5 eliminazioni
+1 -1
Vedi File
@@ -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;
}