Use SIMD16 kernels in unit tests

Change-Id: I7caf55fe0cf2a0da3a1f1c30e0ee3d8894dea74d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2020-02-12 10:10:28 +01:00
parent 362a63699f
commit a0fcde3a4a
18 changed files with 68 additions and 69 deletions

View File

@@ -55,7 +55,7 @@ class ProgramDataTestBase : public testing::Test,
CreateProgramWithSource(
pContext,
&device,
"CopyBuffer_simd8.cl");
"CopyBuffer_simd16.cl");
}
void TearDown() override {
@@ -413,7 +413,7 @@ TEST(ProgramScopeMetadataTest, WhenPatchingGlobalSurfaceThenPickProperSourceBuff
TEST_F(ProgramDataTest, GivenProgramWith32bitPointerOptWhenProgramScopeConstantBufferPatchTokensAreReadThenConstantPointerOffsetIsPatchedWith32bitPointer) {
cl_device_id device = pPlatform->getClDevice(0);
CreateProgramWithSource(pContext, &device, "CopyBuffer_simd8.cl");
CreateProgramWithSource(pContext, &device, "CopyBuffer_simd16.cl");
ASSERT_NE(nullptr, pProgram);
MockProgram *prog = pProgram;
@@ -450,7 +450,7 @@ TEST_F(ProgramDataTest, GivenProgramWith32bitPointerOptWhenProgramScopeConstantB
TEST_F(ProgramDataTest, GivenProgramWith32bitPointerOptWhenProgramScopeGlobalPointerPatchTokensAreReadThenGlobalPointerOffsetIsPatchedWith32bitPointer) {
cl_device_id device = pPlatform->getClDevice(0);
CreateProgramWithSource(pContext, &device, "CopyBuffer_simd8.cl");
CreateProgramWithSource(pContext, &device, "CopyBuffer_simd16.cl");
ASSERT_NE(nullptr, pProgram);
MockProgram *prog = pProgram;