mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Revert "image create check"
This reverts commit 333906e278.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3804b07fe8
commit
d8a66cd14d
@@ -352,12 +352,6 @@ ze_result_t DeviceImp::getCommandQueueGroupProperties(uint32_t *pCount,
|
||||
ze_result_t DeviceImp::createImage(const ze_image_desc_t *desc, ze_image_handle_t *phImage) {
|
||||
auto productFamily = neoDevice->getHardwareInfo().platform.eProductFamily;
|
||||
Image *pImage = nullptr;
|
||||
|
||||
if (neoDevice->getDeviceInfo().imageSupport == false) {
|
||||
*phImage = nullptr;
|
||||
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
||||
}
|
||||
|
||||
auto result = Image::create(productFamily, this, desc, &pImage);
|
||||
if (result == ZE_RESULT_SUCCESS) {
|
||||
*phImage = pImage->toHandle();
|
||||
|
||||
Reference in New Issue
Block a user