mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
style: configure readability-identifier-naming.LocalVariableCase
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
24669e0219
commit
819e0f5515
@ -883,13 +883,13 @@ TEST_F(DispatchInfoBuilderTest, GivenSplitWhenSettingKernelArgThenAddressesAreCo
|
||||
builder2D.setKernel(pKernel);
|
||||
builder3D.setKernel(pKernel);
|
||||
|
||||
Vec3<size_t> GWS(256, 256, 256);
|
||||
Vec3<size_t> ELWS(16, 16, 16);
|
||||
Vec3<size_t> gws(256, 256, 256);
|
||||
Vec3<size_t> elws(16, 16, 16);
|
||||
Vec3<size_t> offset(0, 0, 0);
|
||||
|
||||
builder1D.setDispatchGeometry(SplitDispatch::RegionCoordX::Left, GWS, ELWS, offset);
|
||||
builder2D.setDispatchGeometry(SplitDispatch::RegionCoordX::Left, SplitDispatch::RegionCoordY::Top, GWS, ELWS, offset);
|
||||
builder3D.setDispatchGeometry(SplitDispatch::RegionCoordX::Left, SplitDispatch::RegionCoordY::Top, SplitDispatch::RegionCoordZ::Front, GWS, ELWS, offset);
|
||||
builder1D.setDispatchGeometry(SplitDispatch::RegionCoordX::Left, gws, elws, offset);
|
||||
builder2D.setDispatchGeometry(SplitDispatch::RegionCoordX::Left, SplitDispatch::RegionCoordY::Top, gws, elws, offset);
|
||||
builder3D.setDispatchGeometry(SplitDispatch::RegionCoordX::Left, SplitDispatch::RegionCoordY::Top, SplitDispatch::RegionCoordZ::Front, gws, elws, offset);
|
||||
MultiDispatchInfo mdi1D;
|
||||
MultiDispatchInfo mdi2D;
|
||||
MultiDispatchInfo mdi3D;
|
||||
|
@ -323,12 +323,12 @@ HWCMDTEST_F(IGFX_GEN8_CORE, HardwareCommandsTest, WhenAllocatingIndirectStateRes
|
||||
auto usedBeforeSSH = ssh.getUsed();
|
||||
|
||||
dsh.align(EncodeStates<FamilyType>::alignInterfaceDescriptorData);
|
||||
size_t IDToffset = dsh.getUsed();
|
||||
size_t idToffset = dsh.getUsed();
|
||||
dsh.getSpace(sizeof(INTERFACE_DESCRIPTOR_DATA));
|
||||
|
||||
HardwareCommandsHelper<FamilyType>::sendMediaInterfaceDescriptorLoad(
|
||||
commandStream,
|
||||
IDToffset,
|
||||
idToffset,
|
||||
sizeof(INTERFACE_DESCRIPTOR_DATA));
|
||||
uint32_t interfaceDescriptorIndex = 0;
|
||||
auto isCcsUsed = EngineHelpers::isCcs(cmdQ.getGpgpuEngine().osContext->getEngineType());
|
||||
@ -343,7 +343,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, HardwareCommandsTest, WhenAllocatingIndirectStateRes
|
||||
kernel->getKernelStartOffset(true, kernelUsesLocalIds, isCcsUsed),
|
||||
kernel->getKernelInfo().getMaxSimdSize(),
|
||||
localWorkSizes,
|
||||
IDToffset,
|
||||
idToffset,
|
||||
interfaceDescriptorIndex,
|
||||
pDevice->getPreemptionMode(),
|
||||
pWalkerCmd,
|
||||
@ -497,7 +497,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, HardwareCommandsTest, whenSendingIndirectStateThenKe
|
||||
auto &ssh = cmdQ.getIndirectHeap(IndirectHeap::Type::SURFACE_STATE, 8192);
|
||||
|
||||
dsh.align(EncodeStates<FamilyType>::alignInterfaceDescriptorData);
|
||||
size_t IDToffset = dsh.getUsed();
|
||||
size_t idToffset = dsh.getUsed();
|
||||
dsh.getSpace(sizeof(INTERFACE_DESCRIPTOR_DATA));
|
||||
|
||||
KernelInfo modifiedKernelInfo = {};
|
||||
@ -523,7 +523,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, HardwareCommandsTest, whenSendingIndirectStateThenKe
|
||||
mockKernel.getKernelStartOffset(true, kernelUsesLocalIds, isCcsUsed),
|
||||
modifiedKernelInfo.getMaxSimdSize(),
|
||||
localWorkSizes,
|
||||
IDToffset,
|
||||
idToffset,
|
||||
interfaceDescriptorIndex,
|
||||
pDevice->getPreemptionMode(),
|
||||
pWalkerCmd,
|
||||
|
@ -766,16 +766,16 @@ HWTEST_F(HwHelperTest, DISABLED_profilingCreationOfRenderSurfaceStateVsMemcpyOfC
|
||||
}
|
||||
|
||||
HWTEST_F(HwHelperTest, WhenTestingIfL3ConfigProgrammableThenCorrectValueIsReturned) {
|
||||
bool PreambleHelperL3Config;
|
||||
bool preambleHelperL3Config;
|
||||
bool isL3Programmable;
|
||||
const HardwareInfo &hwInfo = *defaultHwInfo;
|
||||
|
||||
PreambleHelperL3Config =
|
||||
preambleHelperL3Config =
|
||||
PreambleHelper<FamilyType>::isL3Configurable(*defaultHwInfo);
|
||||
isL3Programmable =
|
||||
HwHelperHw<FamilyType>::get().isL3Configurable(hwInfo);
|
||||
|
||||
EXPECT_EQ(PreambleHelperL3Config, isL3Programmable);
|
||||
EXPECT_EQ(preambleHelperL3Config, isL3Programmable);
|
||||
}
|
||||
|
||||
TEST(HwHelperCacheFlushTest, givenEnableCacheFlushFlagIsEnableWhenPlatformDoesNotSupportThenOverrideAndReturnSupportTrue) {
|
||||
|
@ -69,9 +69,9 @@ INSTANTIATE_TYPED_TEST_CASE_P(Validator, ValidatorFixture, ValidatorParams);
|
||||
|
||||
TEST(GenericValidator, GivenNullCtxAndNullCqWhenValidatingThenInvalidContextIsReturned) {
|
||||
cl_context context = nullptr;
|
||||
cl_command_queue command_queue = nullptr;
|
||||
cl_command_queue commandQueue = nullptr;
|
||||
|
||||
EXPECT_EQ(CL_INVALID_CONTEXT, validateObjects(context, command_queue));
|
||||
EXPECT_EQ(CL_INVALID_CONTEXT, validateObjects(context, commandQueue));
|
||||
}
|
||||
|
||||
TEST(UserPointer, GivenNullPtrWhenValidatingThenInvalidValueIsReturned) {
|
||||
|
Reference in New Issue
Block a user