mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:39:51 +08:00
Allow sub devices to reuse build status from root device
create DeviceBuildInfo struct for per-device info in program Related-To: NEO-5001 Change-Id: I4048f3dd34240a4f937cc4a05935cba4f40a1872 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
87fd9b0708
commit
e39af42137
@@ -129,7 +129,7 @@ T *Program::createBuiltInFromGenBinary(
|
||||
if (program->buildInfos[device->getRootDeviceIndex()].packedDeviceBinarySize == 0) {
|
||||
program->replaceDeviceBinary(makeCopy(binary, size), size, device->getRootDeviceIndex());
|
||||
}
|
||||
program->buildStatuses[device] = CL_BUILD_SUCCESS;
|
||||
program->deviceBuildInfos[device].buildStatus = CL_BUILD_SUCCESS;
|
||||
}
|
||||
program->isCreatedFromBinary = true;
|
||||
program->programBinaryType = CL_PROGRAM_BINARY_TYPE_EXECUTABLE;
|
||||
|
||||
Reference in New Issue
Block a user