mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
Use SIMD16 kernels in unit tests
Change-Id: I7caf55fe0cf2a0da3a1f1c30e0ee3d8894dea74d Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user