未验证 提交 b081fcb0 编写于 作者: Y Yuan Shuai 提交者: GitHub

[LITE][OPENCL] Fix create command queue with properties. test=develop (#3772)

上级 c0a3b120
...@@ -445,9 +445,8 @@ CL_API_ENTRY cl_command_queue CL_API_CALL clCreateCommandQueueWithProperties( ...@@ -445,9 +445,8 @@ CL_API_ENTRY cl_command_queue CL_API_CALL clCreateCommandQueueWithProperties(
// ->clCreateCommandQueueWithProperties()( // ->clCreateCommandQueueWithProperties()(
// context, device, properties, errcode_ret); // context, device, properties, errcode_ret);
// //
cl_command_queue_properties cl_cmd_properties;
return paddle::lite::CLWrapper::Global()->clCreateCommandQueue()( return paddle::lite::CLWrapper::Global()->clCreateCommandQueue()(
context, device, cl_cmd_properties, errcode_ret); context, device, 0, errcode_ret);
} }
CL_API_ENTRY cl_int CL_API_CALL clReleaseCommandQueue( CL_API_ENTRY cl_int CL_API_CALL clReleaseCommandQueue(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册