mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
fix negative_command_buffer_enqueue_with_different_context (#2206)
negative_command_buffer_enqueue_with_different_context does not need to use CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE Fix #2205
This commit is contained in:
@@ -395,8 +395,8 @@ struct EnqueueCommandBufferQueueWithDifferentContext
|
|||||||
clCreateContext(0, 1, &device, nullptr, nullptr, &error);
|
clCreateContext(0, 1, &device, nullptr, nullptr, &error);
|
||||||
test_error(error, "Failed to create context");
|
test_error(error, "Failed to create context");
|
||||||
|
|
||||||
queue_different_context = clCreateCommandQueue(
|
queue_different_context =
|
||||||
context1, device, CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE, &error);
|
clCreateCommandQueue(context1, device, 0, &error);
|
||||||
test_error(error, "clCreateCommandQueue failed");
|
test_error(error, "clCreateCommandQueue failed");
|
||||||
|
|
||||||
return CL_SUCCESS;
|
return CL_SUCCESS;
|
||||||
|
|||||||
Reference in New Issue
Block a user