Variable rank disappears over Loop invocation
|Created on||Mar 15, 2009 17:51|
|Resolved on||Mar 19, 2009 18:58|
Created an attachment (id=505) source code to reproduce failure The attached ipdd.sac (tinkered) ran very slowly, so I looked at the main() inner loop. There is a call to a lacfn, Loop_0, for a function that is doing x[.]+y[.], but the type in the header says [*], with result type [*]. If I replace the "x+y" in the code with an explicit WL to do the add, it all works OK. See function PLUS in the attachment. Sadly, even when that bug is worked around, this matrix product still runs 6X slower than Fortran 77. Note different code if compiled with -DBUG.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information