Next: , Previous: , Up: OpenACC Runtime Library Routines   [Contents][Index]


5.3 acc_get_device_type – Get type of device accelerator to be used.

Description

This function returns what device type will be used when executing a parallel or kernels region.

C/C++:
Prototype:acc_device_t acc_get_device_type(void);
Fortran:
Interface:function acc_get_device_type(void)
integer(kind=acc_device_kind) acc_get_device_type
Reference:

OpenACC specification v2.0, section 3.2.3.