mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +08:00
Use all devices when building program
remove Program::internalOptions internal options are calculated separately in compile, link and build methods Related-To: NEO-5001 Change-Id: I85ea2d64c72edb9b0e3f23244b59b9af20e2d357 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
045632f355
commit
75d1ebb811
@@ -56,7 +56,6 @@ class ProgramDataTestBase : public testing::Test,
|
||||
|
||||
CreateProgramWithSource(
|
||||
pContext,
|
||||
&device,
|
||||
"CopyBuffer_simd16.cl");
|
||||
}
|
||||
|
||||
@@ -446,8 +445,7 @@ TEST(ProgramScopeMetadataTest, WhenPatchingGlobalSurfaceThenPickProperSourceBuff
|
||||
}
|
||||
|
||||
TEST_F(ProgramDataTest, GivenProgramWith32bitPointerOptWhenProgramScopeConstantBufferPatchTokensAreReadThenConstantPointerOffsetIsPatchedWith32bitPointer) {
|
||||
cl_device_id device = pPlatform->getClDevice(0);
|
||||
CreateProgramWithSource(pContext, &device, "CopyBuffer_simd16.cl");
|
||||
CreateProgramWithSource(pContext, "CopyBuffer_simd16.cl");
|
||||
ASSERT_NE(nullptr, pProgram);
|
||||
|
||||
MockProgram *prog = pProgram;
|
||||
@@ -485,8 +483,7 @@ TEST_F(ProgramDataTest, GivenProgramWith32bitPointerOptWhenProgramScopeConstantB
|
||||
}
|
||||
|
||||
TEST_F(ProgramDataTest, GivenProgramWith32bitPointerOptWhenProgramScopeGlobalPointerPatchTokensAreReadThenGlobalPointerOffsetIsPatchedWith32bitPointer) {
|
||||
cl_device_id device = pPlatform->getClDevice(0);
|
||||
CreateProgramWithSource(pContext, &device, "CopyBuffer_simd16.cl");
|
||||
CreateProgramWithSource(pContext, "CopyBuffer_simd16.cl");
|
||||
ASSERT_NE(nullptr, pProgram);
|
||||
|
||||
MockProgram *prog = pProgram;
|
||||
|
||||
Reference in New Issue
Block a user