[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:
Kévin Petit
2024-12-12 21:24:04 +00:00
committed by GitHub
parent 56d383b2e9
commit 5b7af4b36d
42 changed files with 174 additions and 162 deletions

View File

@@ -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);
}