You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Glenn Weidner (JIRA)" <ji...@apache.org> on 2017/09/09 01:25:00 UTC

[jira] [Updated] (SYSTEMML-1640) Codegen fails w/ compilations errors for Cspline

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

Glenn Weidner updated SYSTEMML-1640:
------------------------------------
    Fix Version/s:     (was: SystemML 1.0)
                   SystemML 0.15

> Codegen fails w/ compilations errors for Cspline
> ------------------------------------------------
>
>                 Key: SYSTEMML-1640
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1640
>             Project: SystemML
>          Issue Type: Bug
>    Affects Versions: SystemML 0.14
>            Reporter: Matthias Boehm
>            Assignee: Matthias Boehm
>             Fix For: SystemML 0.15
>
>
> Code generation fails with the following compilation errors - due to invalid generated code - for Cspline
> {code}
> public final class TMP31 extends SpoofRowwise { 
>   public TMP31() {
>     super(RowType.ROW_AGG, 0);
>   }
>   protected void genexecRowDense( double[] a, int ai, double[][] b, double[] scalars, double[] c, int len, int rowIndex ) { 
>     double TMP27 = LibSpoofPrimitives.dotProduct(a, b[0], ai, 0, len);
>     LibSpoofPrimitives.vectMultAdd(a, TMP27, c, ai, 0, len);
>     c[rowIndex] = TMP28;
>   }
>   protected void genexecRowSparse( double[] avals, int[] aix, int ai, double[][] b, double[] scalars, double[] c, int len, int rowIndex ) { 
>     double TMP29 = LibSpoofPrimitives.dotProduct(avals, b[0], aix, ai, 0, len);
>     LibSpoofPrimitives.vectMultAdd(avals, TMP29, c, aix, ai, 0, len);
>     c[rowIndex] = TMP30;
>   }
> }
> ERROR: target\testTemp\applications\cspline\CsplineCGDMLTest\CsplineCG\localtmp\_p10844_1.2.345.678\codegen\codegen\TMP31.java:14: error: cannot find symbol
>     c[rowIndex] = TMP28;
>                   ^
>   symbol:   variable TMP28
>   location: class codegen.TMP31
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)