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:
Filip Hazubski
2024-06-10 12:20:59 +00:00
committed by Compute-Runtime-Automation
parent 9f6521f9b3
commit 5ae2709e6e
14 changed files with 46 additions and 117 deletions

View File

@@ -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());