]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgomp/doc/openacc-runtime-library-routines/accgetcurrentcudacontext.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / libgomp / doc / openacc-runtime-library-routines / accgetcurrentcudacontext.rst
1 ..
2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
5
6 .. _acc_get_current_cuda_context:
7
8 acc_get_current_cuda_context -- Get CUDA context handle.
9 ********************************************************
10
11 Description
12 This function returns the CUDA context handle. This handle is the same
13 as used by the CUDA Runtime or Driver API's.
14
15 C/C++:
16 .. list-table::
17
18 * - *Prototype*:
19 - ``void *acc_get_current_cuda_context(void);``
20
21 Reference:
22 :openacc:`2.6`, section
23 A.2.1.2.