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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user