mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
refactor: correct variable naming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
61cbcf83ed
commit
f2ede40d2e
@@ -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,
|
||||
};
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -123,7 +123,7 @@ TEST_P(GetCommandQueueInfoTest, GivenInvalidParameterWhenGettingCommandQueueInfo
|
||||
INSTANTIATE_TEST_CASE_P(
|
||||
GetCommandQueueInfoTest,
|
||||
GetCommandQueueInfoTest,
|
||||
::testing::ValuesIn(DefaultCommandQueueProperties));
|
||||
::testing::ValuesIn(defaultCommandQueueProperties));
|
||||
|
||||
using GetCommandQueueFamilyInfoTests = ::testing::Test;
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user