mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 18:25:05 +08:00
[2/N] compiler interface refactor (spir/spirV fix)
Fixing regression in spir/spirV scenarios Resolves: NEO-3854, NEO-3852, NEO-3845, NEO-3851, NEO-3844 Change-Id: Ifee7f1847c7f6598428f96ae2241b3d85e58ad11
This commit is contained in:
@@ -31,8 +31,8 @@ cl_int Program::processSpirBinary(
|
||||
bool isSpirV) {
|
||||
programBinaryType = CL_PROGRAM_BINARY_TYPE_INTERMEDIATE;
|
||||
|
||||
std::string binaryString(static_cast<const char *>(pBinary), binarySize);
|
||||
sourceCode.swap(binaryString);
|
||||
this->irBinary = makeCopy(pBinary, binarySize);
|
||||
this->irBinarySize = binarySize;
|
||||
|
||||
buildStatus = CL_BUILD_NONE;
|
||||
this->isSpirV = isSpirV;
|
||||
|
||||
Reference in New Issue
Block a user