libgomp: acc_get_num_devices
1
1 5.1 'acc_get_num_devices' - Get number of devices for given device type
1 =======================================================================
1
1 _Description_
1 This function returns a value indicating the number of devices
1 available for the device type specified in DEVICETYPE.
1
1 _C/C++_:
1 _Prototype_: 'int acc_get_num_devices(acc_device_t devicetype);'
1
1 _Fortran_:
1 _Interface_: 'integer function acc_get_num_devices(devicetype)'
1 'integer(kind=acc_device_kind) devicetype'
1
1 _Reference_:
1 OpenACC specification v2.0 (https://www.openacc.org), section
1 3.2.1.
1