Next: acc_get_device_type, Previous: acc_get_num_devices, Up: OpenACC Runtime Library Routines [Contents][Index]
acc_set_device_type
– Set type of device accelerator to use.This function indicates to the runtime library which device typr, specified in devicetype, to use when executing a parallel or kernels region.
Prototype: | acc_set_device_type(acc_device_t devicetype); |
Interface: | subroutine acc_set_device_type(devicetype) |
integer(kind=acc_device_kind) devicetype |
OpenACC specification v2.0, section 3.2.2.