mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
refactor: remove not needed code related to cl accelerator
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
cf1eeb8b51
commit
8b6aaceab4
@@ -182,24 +182,6 @@ TEST_F(KernelDataTest, GivenSamplerArgumentWhenBuildingThenProgramIsCorrect) {
|
||||
EXPECT_EQ_VAL(samplerData.Offset, pKernelInfo->getArgDescriptorAt(3).as<ArgDescSampler>().bindful);
|
||||
}
|
||||
|
||||
TEST_F(KernelDataTest, GivenAcceleratorArgumentWhenBuildingThenProgramIsCorrect) {
|
||||
iOpenCL::SPatchSamplerKernelArgument samplerData;
|
||||
samplerData.Token = PATCH_TOKEN_SAMPLER_KERNEL_ARGUMENT;
|
||||
samplerData.ArgumentNumber = 3;
|
||||
samplerData.Offset = 0x40;
|
||||
samplerData.Type = iOpenCL::SAMPLER_OBJECT_VME;
|
||||
samplerData.Size = sizeof(samplerData);
|
||||
|
||||
pPatchList = &samplerData;
|
||||
patchListSize = samplerData.Size;
|
||||
|
||||
buildAndDecode();
|
||||
|
||||
EXPECT_TRUE(pKernelInfo->getArgDescriptorAt(3).is<ArgDescriptor::argTSampler>());
|
||||
EXPECT_TRUE(pKernelInfo->getArgDescriptorAt(3).getExtendedTypeInfo().isAccelerator);
|
||||
EXPECT_EQ_VAL(samplerData.Offset, pKernelInfo->getArgDescriptorAt(3).as<ArgDescSampler>().bindful);
|
||||
}
|
||||
|
||||
TEST_F(KernelDataTest, GivenBindingTableStateWhenBuildingThenProgramIsCorrect) {
|
||||
iOpenCL::SPatchBindingTableState bindingTableState;
|
||||
bindingTableState.Token = PATCH_TOKEN_BINDING_TABLE_STATE;
|
||||
|
||||
Reference in New Issue
Block a user