#include "petscvec.h" PETSC_EXTERN PetscErrorCode VecViennaCLGetCLContext(Vec v, PETSC_UINTPTR_T* ctx)Caller should cast (*ctx) to (const cl_context). Caller is responsible for invoking clReleaseContext().
| v | - the vector |
| ctx | - pointer to the underlying CL context |