[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:
Jaroslaw Chodor
2019-10-20 14:22:34 +02:00
parent 55486a2f32
commit 8ec7e45bff
8 changed files with 58 additions and 18 deletions

View File

@@ -158,7 +158,6 @@ T *Program::createFromIL(Context *ctx,
T *program = new T(*ctx->getDevice(0)->getExecutionEnvironment(), ctx, false);
errcodeRet = program->createProgramFromBinary(il, length);
program->createdFrom = CreatedFrom::IL;
if (errcodeRet != CL_SUCCESS) {