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:
@@ -90,13 +90,13 @@ int test_atomic(cl_device_id deviceID, cl_context context,
|
||||
REGISTER_TEST(op_atomic_inc_global)
|
||||
{
|
||||
int num = 1 << 16;
|
||||
return test_atomic<cl_int>(deviceID, context, queue,
|
||||
"atomic_inc_global", num, true);
|
||||
return test_atomic<cl_int>(device, context, queue, "atomic_inc_global", num,
|
||||
true);
|
||||
}
|
||||
|
||||
REGISTER_TEST(op_atomic_dec_global)
|
||||
{
|
||||
int num = 1 << 16;
|
||||
return test_atomic<cl_int>(deviceID, context, queue,
|
||||
"atomic_dec_global", num, false);
|
||||
return test_atomic<cl_int>(device, context, queue, "atomic_dec_global", num,
|
||||
false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user