Comments (2)
We have solved the problem. Please re-download the code.
The previous code may cause the access out of bounds problem. So we add a simple bound check.
from dgsparse-lib.
Can you provide the exact X you tested?
I tested some non power-of-2 X, but I see no errors. For example
(base) guyue@server:~/dgSPARSE-Library/example/ge-spmm$ ./spmm.out ../data/p2p-Gnutella31.mtx 143
Finish reading matrix 62586 rows, 62586 columns, 147892 nnz.
Ignore original values and use randomly generated values.
[Cusparse] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 0.205066 (ms), Throughput 206.260712 (gflops).
[GE-SpMM][Alg: 0] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 0.124068 (ms), Throughput 340.919220 (gflops).
[GE-SpMM][Alg: 1] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 3.161272 (ms), Throughput 13.379775 (gflops).
[GE-SpMM][Alg: 2] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 1.157284 (ms), Throughput 36.548603 (gflops).
[GE-SpMM][Alg: 3] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 1.123594 (ms), Throughput 37.644474 (gflops).
[GE-SpMM][Alg: 8] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 0.115343 (ms), Throughput 366.706085 (gflops).
[GE-SpMM][Alg: 9] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 0.093368 (ms), Throughput 453.013519 (gflops).
from dgsparse-lib.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dgsparse-lib.