You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Matthias Boehm (JIRA)" <ji...@apache.org> on 2018/06/07 05:33:00 UTC
[jira] [Created] (SYSTEMML-2370) IPA fails for function with
unbound output
Matthias Boehm created SYSTEMML-2370:
----------------------------------------
Summary: IPA fails for function with unbound output
Key: SYSTEMML-2370
URL: https://issues.apache.org/jira/browse/SYSTEMML-2370
Project: SystemML
Issue Type: Bug
Reporter: Matthias Boehm
{code}
foo = function(matrix[double] X) return(boolean x) {
if( sum(X) > 1 )
print("X "+sum(X));
x = TRUE;
}
X = matrix(7, 10, 10);
foo(X);
{code}
{code}
Caused by: org.apache.sysml.hops.HopsException: Failed to extract output statistics of function .defaultNS::foo.
at org.apache.sysml.hops.ipa.InterProceduralAnalysis.extractFunctionCallReturnStatistics(InterProceduralAnalysis.java:635)
at org.apache.sysml.hops.ipa.InterProceduralAnalysis.propagateStatisticsIntoFunctions(InterProceduralAnalysis.java:491)
at org.apache.sysml.hops.ipa.InterProceduralAnalysis.propagateStatisticsIntoFunctions(InterProceduralAnalysis.java:445)
at org.apache.sysml.hops.ipa.InterProceduralAnalysis.propagateStatisticsAcrossBlock(InterProceduralAnalysis.java:361)
at org.apache.sysml.hops.ipa.InterProceduralAnalysis.analyzeProgram(InterProceduralAnalysis.java:199)
at org.apache.sysml.parser.DMLTranslator.rewriteHopsDAG(DMLTranslator.java:271)
at org.apache.sysml.api.DMLScript.execute(DMLScript.java:706)
at org.apache.sysml.api.DMLScript.executeScript(DMLScript.java:517)
... 30 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.apache.sysml.hops.ipa.InterProceduralAnalysis.extractFunctionCallReturnStatistics(InterProceduralAnalysis.java:588)
... 37 more
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)