Remove most remaining clCreate*WithProperties calls in tests that run on 1.2

Don't touch interop suites or code only run with options not required
for conformance.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
Kevin Petit
2020-02-20 12:04:07 +00:00
parent b40fb16571
commit e306ecd691
19 changed files with 34 additions and 82 deletions

View File

@@ -270,15 +270,15 @@ int test_waitlists( cl_device_id deviceID, cl_context context, cl_command_queue
{
cl_int error;
int retVal = 0;
cl_queue_properties props[] = {CL_QUEUE_PROPERTIES, CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE, 0};
cl_command_queue_properties props = CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE;
if( !checkDeviceForQueueSupport( deviceID, CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE ) )
if( !checkDeviceForQueueSupport( deviceID, props ) )
{
log_info( "WARNING: Device does not support out-of-order exec mode; skipping test.\n" );
return 0;
}
clCommandQueueWrapper queue = clCreateCommandQueueWithProperties( context, deviceID, &props[0], &error );
clCommandQueueWrapper queue = clCreateCommandQueue( context, deviceID, props, &error );
test_error(error, "Unable to create out-of-order queue");
log_info( "\n" );