问题
I am aware that the OpenMP 4.5 standard says that in Fortran "polymorphic entities" are not supported.
What exactly does this mean? Does this only exclude calls to type-bound procedures that have a PASS attribute, but I can still use an instance of a user-defined type that has type-bound procedures in other ways (e.g. accessing its components)?
Does this limitation only apply to the OMP PARALLEL block, or also to procedures called from this block, or to the entire compilation unit?
Would be great if someone could point me to some clarifying documentation. Thanks!
EDIT: Made explicit that I meant type-bound procedures with the PASS attribute specified.
来源:https://stackoverflow.com/questions/43188844/fortran-openmp-polymorphism-what-exactly-is-not-supported