Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kurtamohler/cusparsespmm-coo-bug

Example of how to correctly use CuSparse's cusparseSpMM() function
https://github.com/kurtamohler/cusparsespmm-coo-bug

Last synced: 11 days ago
JSON representation

Example of how to correctly use CuSparse's cusparseSpMM() function

Awesome Lists containing this project

README

        

# Explanation

This repo was created to reproduce an apparent bug in CuSparse's
sparse-dense multiply operation, `cusparseSpMM`.
However, someone from NVIDIA pointed out that I was using `uint64_t`
indices for my sparse matrices, which is not supported yet in
`cusparseSpMM`. When I switched to `uint32_t`, I started getting the
correct result.

# Build

```
$ make
```

# Run

```
$ ./a.out
```

# Dependencies

* CUDA 10.1