Lines Matching defs:command_queue
72 cl_command_queue command_queue;
475 return opencl_ctx.command_queue;
503 opencl_ctx->command_queue = ext_opencl_env->command_queue;
572 opencl_ctx->command_queue = clCreateCommandQueue(opencl_ctx->context, opencl_ctx->device_id,
620 if (opencl_ctx.command_queue) {
621 status = clReleaseCommandQueue(opencl_ctx.command_queue);
626 opencl_ctx.command_queue = NULL;
670 void *mapped = clEnqueueMapBuffer(opencl_ctx.command_queue, dst_cl_buf,
681 status = clEnqueueUnmapMemObject(opencl_ctx.command_queue, dst_cl_buf, mapped, 0, NULL, NULL);
693 void *mapped = clEnqueueMapBuffer(opencl_ctx.command_queue, src_cl_buf,
704 status = clEnqueueUnmapMemObject(opencl_ctx.command_queue, src_cl_buf, mapped, 0, NULL, NULL);
731 mapped = clEnqueueMapBuffer(opencl_ctx.command_queue, dst_cl_buf,
745 status = clEnqueueUnmapMemObject(opencl_ctx.command_queue, dst_cl_buf, mapped, 0, NULL, NULL);
772 mapped = clEnqueueMapBuffer(opencl_ctx.command_queue, src_cl_buf,
788 status = clEnqueueUnmapMemObject(opencl_ctx.command_queue, src_cl_buf, mapped, 0, NULL, NULL);
820 ext_opencl_env->command_queue = clCreateCommandQueue(ext_opencl_env->context,
822 if (status != CL_SUCCESS || !ext_opencl_env->command_queue) {
831 if (ext_opencl_env->command_queue)
832 clReleaseCommandQueue(ext_opencl_env->command_queue);