Index dtype
It seems that if a Fortran subroutine does not have a loop, make_kernel
will eventually throw loopy.diagnostic.LoopyError: dtype may not be none
, since index_dtype
defaults to None
in the constructor for F2LoopyTranslator
, and map_Do
will not be called, which is the only thing that sets index_dtype
to another value.