refactor: correct variable naming

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-11-29 15:57:54 +00:00
committed by Compute-Runtime-Automation
parent 61cbcf83ed
commit f2ede40d2e
6 changed files with 82 additions and 82 deletions

View File

@@ -73,7 +73,7 @@ struct CommandQueueFixture {
CommandQueue *pCmdQ = nullptr;
};
static const cl_command_queue_properties AllCommandQueueProperties[] = {
static const cl_command_queue_properties allCommandQueueProperties[] = {
0,
CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE,
CL_QUEUE_ON_DEVICE | CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE,
@@ -82,7 +82,7 @@ static const cl_command_queue_properties AllCommandQueueProperties[] = {
CL_QUEUE_PROFILING_ENABLE | CL_QUEUE_ON_DEVICE | CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE,
CL_QUEUE_PROFILING_ENABLE | CL_QUEUE_ON_DEVICE | CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE | CL_QUEUE_ON_DEVICE_DEFAULT};
static const cl_command_queue_properties DefaultCommandQueueProperties[] = {
static const cl_command_queue_properties defaultCommandQueueProperties[] = {
0,
CL_QUEUE_PROFILING_ENABLE,
};

View File

@@ -130,7 +130,7 @@ TEST_P(CommandQueueTest, GivenNonFailingAllocationWhenCreatingCommandQueueThenCo
INSTANTIATE_TEST_CASE_P(CommandQueue,
CommandQueueTest,
::testing::ValuesIn(AllCommandQueueProperties));
::testing::ValuesIn(allCommandQueueProperties));
TEST(CommandQueue, WhenGettingErrorCodeFromTaskCountThenProperValueIsReturned) {
EXPECT_EQ(CL_SUCCESS, CommandQueue::getErrorCodeFromTaskCount(0));

View File

@@ -123,7 +123,7 @@ TEST_P(GetCommandQueueInfoTest, GivenInvalidParameterWhenGettingCommandQueueInfo
INSTANTIATE_TEST_CASE_P(
GetCommandQueueInfoTest,
GetCommandQueueInfoTest,
::testing::ValuesIn(DefaultCommandQueueProperties));
::testing::ValuesIn(defaultCommandQueueProperties));
using GetCommandQueueFamilyInfoTests = ::testing::Test;

View File

@@ -110,11 +110,11 @@ HWTEST_P(CreateImage2DType, GivenValidTypeWhenCreatingImageThenImageCreatedWithC
delete image;
}
static cl_mem_object_type Image2DTypes[] = {
static cl_mem_object_type image2DTypes[] = {
CL_MEM_OBJECT_IMAGE2D,
CL_MEM_OBJECT_IMAGE2D_ARRAY};
INSTANTIATE_TEST_CASE_P(
CreateImage2DTestCreate,
CreateImage2DType,
testing::ValuesIn(Image2DTypes));
testing::ValuesIn(image2DTypes));