mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Remove Unrecoverable
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
53104e0830
commit
a19c3eeee4
@@ -336,7 +336,6 @@ uint32_t Device::getNumAvailableDevices() const {
|
||||
|
||||
Device *Device::getDeviceById(uint32_t deviceId) const {
|
||||
if (subdevices.empty()) {
|
||||
UNRECOVERABLE_IF(deviceId > 0);
|
||||
return const_cast<Device *>(this);
|
||||
}
|
||||
UNRECOVERABLE_IF(deviceId >= subdevices.size());
|
||||
|
||||
Reference in New Issue
Block a user