mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-22 15:19:02 +00:00
Use clCreateCommandQueue when possible (in a few tests) (#474)
In all these cases, the new entrypoint is not necessary. These changes enable the tests to work or are a necessary step to get the tests to work on an OpenCL 1.2 implementation. While this may not be the final approach we want to solve this specific compatibility issue, it also has the nice property of reducing the diff with cl12_trunk until we merge. Signed-off-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
@@ -309,7 +309,7 @@ int TestMacro_Int_Float_Float(const Func *f, MTdata d)
|
||||
goto exit;
|
||||
}
|
||||
}
|
||||
test_info.tinfo[i].tQueue = clCreateCommandQueueWithProperties(gContext, gDevice, 0, &error);
|
||||
test_info.tinfo[i].tQueue = clCreateCommandQueue(gContext, gDevice, 0, &error);
|
||||
if( NULL == test_info.tinfo[i].tQueue || error )
|
||||
{
|
||||
vlog_error( "clCreateCommandQueue failed. (%d)\n", error );
|
||||
@@ -821,7 +821,7 @@ int TestMacro_Int_Double_Double(const Func *f, MTdata d)
|
||||
goto exit;
|
||||
}
|
||||
}
|
||||
test_info.tinfo[i].tQueue = clCreateCommandQueueWithProperties(gContext, gDevice, 0, &error);
|
||||
test_info.tinfo[i].tQueue = clCreateCommandQueue(gContext, gDevice, 0, &error);
|
||||
if( NULL == test_info.tinfo[i].tQueue || error )
|
||||
{
|
||||
vlog_error( "clCreateCommandQueue failed. (%d)\n", error );
|
||||
|
||||
Reference in New Issue
Block a user