mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-22 23:29:02 +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:
@@ -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); \
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user