# VecViennaCLGetCLQueue
Get the OpenCL command queue to which all operations of the Vec are enqueued. 
## Synopsis
```
#include "petscvec.h" 
PETSC_EXTERN PetscErrorCode VecViennaCLGetCLQueue(Vec v, PETSC_UINTPTR_T *queue)
```
Caller should cast (*queue) to (const cl_command_queue). Caller is
responsible for invoking clReleaseCommandQueue().


## Input Parameters

- ***v    -*** the vector



## Output Parameters

- ***ctx -*** pointer to the CL command queue





## See Also
 `VecViennaCLGetCLContext()`, `VecViennaCLGetCLMemRead()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/vec/impls/seq/seqviennacl/vecviennacl.cxx.html#VecViennaCLGetCLQueue">src/vec/vec/impls/seq/seqviennacl/vecviennacl.cxx</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/vec/impls/seq/seqviennacl/vecviennacl.cxx)


[Index of all Vec routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
