edwinsolisf · GitHub

When converting a sparse COO matrix to a dense matrix using af::dense, the CUDA, oneAPI, and openCL kernels where invoking the coo2dense kernel with incorrect dimensions which was only observable for sparse arrays with nnz greater than 1024 (CUDA) and 8192 (oneAPI/openCL). This tests checks this.

Description

Additional information about the PR answering following questions:

  • Is this a new feature or a bug fix?: Adds a test
  • Why these changes are necessary: Tests uncovered case
  • Potential impact on specific hardware, software or backends: None
  • New functions and their functionality: None
  • Can this PR be backported to older versions?: Yes
  • Future changes not implemented in this PR.: None

Tests pull request #3583

Changes to Users

  • Additional options added to the build: None
  • No action required by the user

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass
  • Functions added to unified API
  • Functions documented

Read the original on github.com ↗