mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +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:
@@ -1093,7 +1093,7 @@ test_status InitCL( cl_device_id device )
|
||||
gContext = clCreateContext(props, 1, &device, notify_callback, NULL, NULL);
|
||||
checkNull(gContext, "clCreateContext");
|
||||
|
||||
gQueue = clCreateCommandQueueWithProperties(gContext, device, 0, NULL);
|
||||
gQueue = clCreateCommandQueue(gContext, device, 0, NULL);
|
||||
checkNull(gQueue, "clCreateCommandQueue");
|
||||
|
||||
releaseOutputStream(gFd);
|
||||
|
||||
Reference in New Issue
Block a user