mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Change Packed binary Returned in L0 GetNative to be the Target Device binary
- Packed Binary Returned to a customer in L0 GetNative is now the target device's native binary. Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
359e848dbe
commit
8c894fad5e
@@ -8,6 +8,7 @@
|
||||
#include "shared/source/device_binary_format/ar/ar.h"
|
||||
#include "shared/source/device_binary_format/ar/ar_decoder.h"
|
||||
#include "shared/source/device_binary_format/device_binary_formats.h"
|
||||
#include "shared/source/helpers/string.h"
|
||||
|
||||
namespace NEO {
|
||||
void searchForBinary(Ar::Ar &archiveData, const ConstStringRef filter, Ar::ArFileEntryHeaderAndData *&matched) {
|
||||
@@ -70,7 +71,7 @@ SingleDeviceBinary unpackSingleDeviceBinary<NEO::DeviceBinaryFormat::Archive>(co
|
||||
unpacked.intermediateRepresentation = unpackedGenericIr.intermediateRepresentation;
|
||||
}
|
||||
}
|
||||
|
||||
unpacked.packedTargetDeviceBinary = ArrayRef<const uint8_t>(matchedFile->fileData.begin(), matchedFile->fileData.size());
|
||||
return unpacked;
|
||||
}
|
||||
if (binaryForRecompilation.intermediateRepresentation.empty() && (false == unpacked.intermediateRepresentation.empty())) {
|
||||
|
||||
@@ -72,6 +72,7 @@ struct SingleDeviceBinary {
|
||||
ArrayRef<const uint8_t> deviceBinary;
|
||||
ArrayRef<const uint8_t> debugData;
|
||||
ArrayRef<const uint8_t> intermediateRepresentation;
|
||||
ArrayRef<const uint8_t> packedTargetDeviceBinary;
|
||||
ConstStringRef buildOptions;
|
||||
TargetDevice targetDevice;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user