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_set_device_num:
8 acc_set_device_num -- Set device number to use.
9 ***********************************************
12 This function will indicate to the runtime which device number,
13 specified by :samp:`{devicenum}`, associated with the specified device
14 type :samp:`{devicetype}`.
20 - ``acc_set_device_num(int devicenum, acc_device_t devicetype);``
26 - ``subroutine acc_set_device_num(devicenum, devicetype)``
28 - ``integer devicenum``
30 - ``integer(kind=acc_device_kind) devicetype``
33 :openacc:`2.6`, section