Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: sparse-sparse add/sub support #2312

Merged
merged 4 commits into from Dec 19, 2018
Merged

Commits on Nov 30, 2018

  1. Remove MKL usage from sparse to sparse/dense conversions

    Latest MKL API, doesn't handle the dense data to sparse
    storage conversion. It expects pointers to rows, cols and
    values arrays. It also returns sparse_matrix_t opaque handles
    that we don't use inside ArrayFire. Hence, deprecated MKL API
    has been removed in favor of our in-house kernels for conversions.
    9prady9 committed Nov 30, 2018
    Configuration menu
    Copy the full SHA
    5da781f View commit details
    Browse the repository at this point in the history
  2. FEAT: sparse-sparse add/sub support

    CPU and OpenCL backends have support for mul/div but they
    are disabled to have feature parity with CUDA which doesn't
    have support for mul/div.
    
    The output of sub/div/mul is not guaranteed to have only
    non-zero results of the arithmetic operation. The user has
    to take care of pruning the zero results from the output.
    9prady9 committed Nov 30, 2018
    Configuration menu
    Copy the full SHA
    e52c21c View commit details
    Browse the repository at this point in the history
  3. Changes to download and use mtx files

    - Includes tests to read sparse matrix from mtx file
    
    cmake configure downloads the compressed mtx files, uncompresses
    the files and places them under the source tree location
    `test/data/matrixmarket` so that clean builds don't redownload
    entire data set. Hence, a new change has been added to test/data
    git repository to ignore the matrixmarket folder.
    
    If for any reason download fails, MTX tests are disabled.
    9prady9 committed Nov 30, 2018
    Configuration menu
    Copy the full SHA
    6ce7ed5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3fdd452 View commit details
    Browse the repository at this point in the history