.. Copyright 1988-2022 Free Software Foundation, Inc. This is part of the GCC manual. For copying conditions, see the copyright.rst file. .. _acc_get_current_cuda_context: acc_get_current_cuda_context -- Get CUDA context handle. ******************************************************** Description This function returns the CUDA context handle. This handle is the same as used by the CUDA Runtime or Driver API's. C/C++: .. list-table:: * - *Prototype*: - ``void *acc_get_current_cuda_context(void);`` Reference: :openacc:`2.6`, section A.2.1.2.