_gfortran_caf_num_images

8.2.4 _gfortran_caf_num_images — Querying the maximal number of images

Description:
This function returns the number of images in the current team, if distance is 0 or the number of images in the parent team at the specified distance. If failed is -1, the function returns the number of all images at the specified distance; if it is 0, the function returns the number of nonfailed images, and if it is 1, it returns the number of failed images.
Syntax:
int _gfortran_caf_num_images(int distance, int failed)
Arguments:
distance the distance from this image to the ancestor. Shall be positive.
failed shall be -1, 0, or 1
NOTES
This function follows TS18508. If the num_image intrinsic has no arguments, the the compiler passes distance=0 and failed=-1 to the function.

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gfortran/_005fgfortran_005fcaf_005fnum_005fimages.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部