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 .. _omp_get_num_devices:
8 omp_get_num_devices -- Number of target devices
9 ***********************************************
12 Returns the number of target devices.
18 - ``int omp_get_num_devices(void);``
24 - ``integer function omp_get_num_devices()``
27 :openmp:`4.5`, Section 3.2.31.