|
在新的Fortran2015标准中,forall已经被列为obsolescent特性,
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.
所以还是不用的好。 |
|