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

Remove function pointer based matrix accessor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • SystemDS 2.1
    • SystemDS 2.1
    • NativeRuntime

    Description

      As it turns out, function pointers in CUDA code are a bad idea. They are used in the MatrixAccessor class of ourĀ  SPOOF-CUDA operators to access dense or sparse side inputs at runtime. The idea was to set the access method once in the beginning of a kernel to avoid a condition on every access but tests have shown that an "if dense do A else do B" works just fine. Resorting to this atm and leave a more elaborate yet quick solution as a ToDo.

      Attachments

        Activity

          People

            markd Mark Dokter
            markd Mark Dokter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: