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


6.2 acc_set_device_type – Set type of device accelerator to use.

Description

This function indicates to the runtime library which device type, specified in devicetype, to use when executing a parallel or kernels region.

C/C++:
Prototype:acc_set_device_type(acc_device_t devicetype);
Fortran:
Interface:subroutine acc_set_device_type(devicetype)
integer(kind=acc_device_kind) devicetype
Reference:

OpenACC specification v2.6, section 3.2.2.