systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Boehm (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SYSTEMML-2484) AutoEncoder codegen failing w/ enabled rewrites
Date Fri, 03 Aug 2018 21:01:00 GMT

     [ https://issues.apache.org/jira/browse/SYSTEMML-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matthias Boehm closed SYSTEMML-2484.
------------------------------------
       Resolution: Fixed
         Assignee: Matthias Boehm
    Fix Version/s: SystemML 1.2

> AutoEncoder codegen failing w/ enabled rewrites
> -----------------------------------------------
>
>                 Key: SYSTEMML-2484
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-2484
>             Project: SystemML
>          Issue Type: Bug
>            Reporter: Matthias Boehm
>            Assignee: Matthias Boehm
>            Priority: Major
>             Fix For: SystemML 1.2
>
>
> {code}
> public final class TMP13 extends SpoofRowwise { 
>   public TMP13() {
>     super(RowType.NO_AGG, -1, false, 2);
>   }
>   protected void genexec(double[] a, int ai, SideInput[] b, double[] scalars, double[]
c, int ci, int len, long grix, int rix) { 
>     double TMP5 = getValue(b[0], n, rix, cix);
>     double TMP6 = getValue(b[1], n, rix, cix);
>     double TMP7 = TMP5 - scalars[0] * TMP6;
>     double[] TMP8 = LibSpoofPrimitives.vectPlusWrite(a, TMP7, ai, len);
>     LibSpoofPrimitives.vectWrite(TMP8, c, ci, TMP8.length);
>   }
>   protected void genexec(double[] avals, int[] aix, int ai, SideInput[] b, double[] scalars,
double[] c, int ci, int alen, int len, long grix, int rix) { 
>     double TMP9 = getValue(b[0], n, rix, cix);
>     double TMP10 = getValue(b[1], n, rix, cix);
>     double TMP11 = TMP9 - scalars[0] * TMP10;
>     double[] TMP12 = LibSpoofPrimitives.vectPlusWrite(avals, TMP11, aix, ai, alen, len);
>     LibSpoofPrimitives.vectWrite(TMP12, c, ci, TMP12.length);
>   }
> }
> {code}
> {code}
> Caused by: org.apache.sysml.runtime.DMLRuntimeException: Failed to compile class codegen.TMP13.
> 	at org.apache.sysml.runtime.codegen.CodegenUtils.compileClassJanino(CodegenUtils.java:185)
> 	at org.apache.sysml.runtime.codegen.CodegenUtils.compileClass(CodegenUtils.java:80)
> 	at org.apache.sysml.hops.codegen.SpoofCompiler.optimize(SpoofCompiler.java:402)
> 	... 40 more
> Caused by: org.codehaus.commons.compiler.CompileException: Line 13, Column 35: Unknown
variable or type "n"
> 	at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:11821)
> 	at org.codehaus.janino.UnitCompiler.getType2(UnitCompiler.java:6521)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message