Uploaded image for project: 'SystemDS'
  1. SystemDS
  2. SYSTEMDS-2960

Codegen: ColVector Operation not considering RowIndex

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • SystemDS 2.1
    • None
    • None

    Description

      Fused binary (and maybe also unary) elementwise operations with a column vector as SideInput (e.g., b) do not replace the position %POS% with the respective row index, but with 0 instead.

      I found this issue when generating a SpoofRowwise class including two different cbind operations. The first call to cbind has the correct position as parameter because it depends on the main input

      double[] TMP38 = LibSpoofPrimitives.vectCbindWrite(a, TMP37, ai, len);

      Whereas the second cbind depends on SideInputs and has a 0 as index parameter (aix)

      double[] TMP40 = LibSpoofPrimitives.vectCbindWrite(b[0].values(rix), TMP39, 0, b[0].clen);

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ywcb00 David Weissteiner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: