:orphan: # 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 Parameter - ***v -*** the vector ## Output Parameter - ***ctx -*** pointer to the CL command queue ## See Also `VecViennaCLGetCLContext()`, `VecViennaCLGetCLMemRead()` ## Level intermediate ## Location src/vec/vec/impls/seq/seqviennacl/vecviennacl.cxx --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)