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.
6 .. _acc_get_device_num:
8 acc_get_device_num -- Get device number to be used.
9 ***************************************************
12 This function returns which device number associated with the specified device
13 type :samp:`{devicetype}`, will be used when executing a parallel or kernels
20 - ``int acc_get_device_num(acc_device_t devicetype);``
26 - ``function acc_get_device_num(devicetype)``
28 - ``integer(kind=acc_device_kind) devicetype``
30 - ``integer acc_get_device_num``
33 :openacc:`2.6`, section