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:
@@ -98,7 +98,7 @@ REGISTER_TEST(op_phi_2_blocks)
|
||||
out[i] = lhs[i] < rhs[i] ? (rhs[i] - lhs[i]) : (lhs[i] - rhs[i]);
|
||||
}
|
||||
|
||||
return test_phi(deviceID, context, queue, "phi_2", lhs, rhs, out);
|
||||
return test_phi(device, context, queue, "phi_2", lhs, rhs, out);
|
||||
}
|
||||
|
||||
REGISTER_TEST(op_phi_3_blocks)
|
||||
@@ -120,7 +120,7 @@ REGISTER_TEST(op_phi_3_blocks)
|
||||
}
|
||||
}
|
||||
|
||||
return test_phi(deviceID, context, queue, "phi_3", lhs, rhs, out);
|
||||
return test_phi(device, context, queue, "phi_3", lhs, rhs, out);
|
||||
}
|
||||
|
||||
REGISTER_TEST(op_phi_4_blocks)
|
||||
@@ -142,5 +142,5 @@ REGISTER_TEST(op_phi_4_blocks)
|
||||
}
|
||||
}
|
||||
|
||||
return test_phi(deviceID, context, queue, "phi_4", lhs, rhs, out);
|
||||
return test_phi(device, context, queue, "phi_4", lhs, rhs, out);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user