[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

@@ -155,7 +155,7 @@ int test_fmath(cl_device_id deviceID,
{ \
if (sizeof(cl_##TYPE) == 2) \
{ \
PASSIVE_REQUIRE_FP16_SUPPORT(deviceID); \
PASSIVE_REQUIRE_FP16_SUPPORT(device); \
} \
const int num = 1 << 20; \
std::vector<cl_##TYPE> lhs(num); \
@@ -170,7 +170,7 @@ int test_fmath(cl_device_id deviceID,
} \
\
const char *mode = #MODE; \
return test_fmath(deviceID, context, queue, #FUNC "_" #TYPE, #FUNC, \
return test_fmath(device, context, queue, #FUNC "_" #TYPE, #FUNC, \
#TYPE, mode[0] == 'f', lhs, rhs); \
}