mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
Revert "Use llvmL1 as type for Intemediate binary type"
This reverts commit a9faf0aecb.
Change-Id: Ib395536be436d3fbe592dd438b2fc2c839135eca
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
7cf5ef6627
commit
19beaf6bd7
@@ -961,23 +961,3 @@ TEST_F(CompilerInterfaceTest, whenRequestingSipKernelBinaryThenProperInternalOpt
|
||||
|
||||
gEnvironment->igcPopDebugVars();
|
||||
}
|
||||
|
||||
TEST_F(CompilerInterfaceTest, givenCompilerIntefraceWithIntermediateAndUseLlvmTextWhenBuildThenCodeTypeEqualLlvmL1) {
|
||||
std::unique_ptr<MockProgram> mockProgram(new MockProgram(pProgram->peekExecutionEnvironment()));
|
||||
mockProgram->setDevice(pDevice);
|
||||
mockProgram->programBinaryType = CL_PROGRAM_BINARY_TYPE_INTERMEDIATE;
|
||||
pCompilerInterface->useLlvmText = true;
|
||||
pCompilerInterface->failCreateIgcTranslationCtx = true;
|
||||
retVal = pCompilerInterface->build(*mockProgram.get(), inputArgs, false);
|
||||
EXPECT_EQ(IGC::CodeType::llvmLl, pCompilerInterface->intermediateInType);
|
||||
}
|
||||
|
||||
TEST_F(CompilerInterfaceTest, givenCompilerIntefraceWithIntermediateAndUseLlvmTextSetToFalseWhenBuildThenCodeTypeEqualllvmBc) {
|
||||
std::unique_ptr<MockProgram> mockProgram(new MockProgram(pProgram->peekExecutionEnvironment()));
|
||||
mockProgram->setDevice(pDevice);
|
||||
mockProgram->programBinaryType = CL_PROGRAM_BINARY_TYPE_INTERMEDIATE;
|
||||
pCompilerInterface->useLlvmText = false;
|
||||
pCompilerInterface->failCreateIgcTranslationCtx = true;
|
||||
retVal = pCompilerInterface->build(*mockProgram.get(), inputArgs, false);
|
||||
EXPECT_EQ(IGC::CodeType::llvmBc, pCompilerInterface->intermediateInType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user