mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Fail on blitMemoryToAllocation when blitter support is disabled
Related-To: NEO-6325 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d6913accd4
commit
61524596e0
@@ -178,6 +178,9 @@ BlitOperationResult BlitHelper::blitMemoryToAllocationBanks(const Device &device
|
||||
if (!hwInfo.capabilityTable.blitterOperationsSupported && !isBlitterRequired) {
|
||||
return BlitOperationResult::Unsupported;
|
||||
}
|
||||
if (0 == DebugManager.flags.EnableBlitterOperationsSupport.get()) {
|
||||
return BlitOperationResult::Unsupported;
|
||||
}
|
||||
|
||||
UNRECOVERABLE_IF(memoryBanks.none());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user