The FORALL construct and statement were added to the language in the expectation that they would enable
highly efficient execution, especially on parallel processors. However, experience indicates that they are too
complex and have too many restrictions for compilers to take advantage of them. They are redundant with the
DO CONCURRENT construct, and many of the manipulations for which they might be used can be done more
effectively using pointers, especially using pointer rank remapping.
jason388 发表于 2015-8-21 12:18
在新的Fortran2015标准中,forall已经被列为obsolescent特性,
wx_G5fH8Rhq 发表于 2015-8-21 17:19
看起来像是编译器原因。。。
哥们儿你这个 标准文档在哪儿整的 我也想看·· ...
wx_G5fH8Rhq 发表于 2015-8-21 17:21
还有 where 没有被列入废弃特性吧?
fcode 发表于 2015-8-20 16:48
1. forall 是 where 的一般情况。可以认为是没有mask的情况。
2. 如何选择纯属个人喜好。没什么区别
3. whe ...
欢迎光临 Fortran Coder (http://bbs.fcode.cn/) | Powered by Discuz! X3.2 |