mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
[NFC] Change the name of the default device provided by the new registration framework (#2186)
The code base uses a mix of 'device' and 'deviceID'. I suggest we standardise on 'device' which is shorter and slightly more prevalent. Contributes to #2181 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
@@ -60,7 +60,8 @@ REGISTER_TEST(op_composite_construct_int4)
|
||||
{
|
||||
cl_int4 value = { { 123, 122, 121, 119 } };
|
||||
std::vector<cl_int4> results(256, value);
|
||||
return test_composite_construct(deviceID, context, queue, "composite_construct_int4", results);
|
||||
return test_composite_construct(device, context, queue,
|
||||
"composite_construct_int4", results);
|
||||
}
|
||||
|
||||
REGISTER_TEST(op_composite_construct_struct)
|
||||
@@ -73,5 +74,6 @@ REGISTER_TEST(op_composite_construct_struct)
|
||||
CustomType2 value2 = {intvals, value1};
|
||||
|
||||
std::vector<CustomType2> results(256, value2);
|
||||
return test_composite_construct(deviceID, context, queue, "composite_construct_struct", results);
|
||||
return test_composite_construct(device, context, queue,
|
||||
"composite_construct_struct", results);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user