mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
fix: Remove allow-zebin and enable-zebin compile options
Zebin is enabled by default. Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9f6521f9b3
commit
5ae2709e6e
@@ -193,9 +193,6 @@ cl_int Program::createProgramFromBinary(
|
||||
this->irBinarySize = singleDeviceBinary.intermediateRepresentation.size();
|
||||
this->isSpirV = NEO::isSpirVBitcode(ArrayRef<const uint8_t>(reinterpret_cast<const uint8_t *>(this->irBinary.get()), this->irBinarySize));
|
||||
this->options = singleDeviceBinary.buildOptions.str();
|
||||
if (singleDeviceBinary.format == NEO::DeviceBinaryFormat::zebin) {
|
||||
this->options += " " + NEO::CompilerOptions::enableZebin.str();
|
||||
}
|
||||
|
||||
auto deviceBinary = makeCopy<char>(reinterpret_cast<const char *>(singleDeviceBinary.deviceBinary.begin()), singleDeviceBinary.deviceBinary.size());
|
||||
auto blob = ArrayRef<const uint8_t>(reinterpret_cast<const uint8_t *>(deviceBinary.get()), singleDeviceBinary.deviceBinary.size());
|
||||
|
||||
Reference in New Issue
Block a user