SWDEV-465162 - Fix some issue with image support

Fix some small issues regarding image and mipmap support

Change-Id: I8e64223d44f37c2dbb115cbb343441a48021ba7b


[ROCm/clr commit: 1566ff7639]
This commit is contained in:
taosang2 authored and Tao Sang committed 2024-06-18 16:38:24 -04:00
1 parent 20417d5b0f
commit 83eb6e766d
3 files changed
+18 -5

No files matched your search

+1 -1
View 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;
}