mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +08:00
Copy ISA on CPU if BCS is not supported
Change-Id: I18b0bea70a0104dfa3f930ee360b9967f8d615be Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
1185205673
commit
bb788b4cc4
@@ -435,7 +435,9 @@ bool KernelInfo::createKernelAllocation(const Device &device) {
|
||||
|
||||
if (kernelAllocation->isAllocatedInLocalMemoryPool() && hwHelper.isBlitCopyRequiredForLocalMemory(hwInfo)) {
|
||||
auto status = BlitHelperFunctions::blitMemoryToAllocation(device, kernelAllocation, 0, heapInfo.pKernelHeap, {kernelIsaSize, 1, 1});
|
||||
return (status == BlitOperationResult::Success);
|
||||
if (status != BlitOperationResult::Unsupported) {
|
||||
return status == BlitOperationResult::Success;
|
||||
}
|
||||
}
|
||||
|
||||
return device.getMemoryManager()->copyMemoryToAllocation(kernelAllocation, heapInfo.pKernelHeap, kernelIsaSize);
|
||||
|
||||
Reference in New Issue
Block a user