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:
1 parent
20417d5b0f
commit
83eb6e766d
3 files changed
+18
-5
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user