Next: acc_get_current_cuda_context, Previous: acc_detach, Up: OpenACC Runtime Library Routines [Contents][Index]
acc_get_current_cuda_device
– Get CUDA device handle.This function returns the CUDA device handle. This handle is the same as used by the CUDA Runtime or Driver API’s.
Prototype: | void *acc_get_current_cuda_device(void); |
OpenACC specification v2.6, section A.2.1.1.