Comments (4)
What kind of data format you have in mind regarding storing the sparse vector? If we introduce sparse vector format, we need to introduce new versions of our algorithms.
from clsparse.
Yes, that's right. I note that cuSPARSE provides both dense and sparse vector formats: http://docs.nvidia.com/cuda/cusparse/#vector-formats
Most of the L2 routines operate with dense vector formats, hence we supported them first but there must be use cases for sparse vectors too. Until we have solid use cases for the sparse format, they should be lower priority than the other work we are already doing, but we need to keep an eye on our API's and make sure they inter-operate/compatible with both formats. For instance, C has no function overloading, so if we support AXPY and dot product functions, they have to have unique names for dense and sparse operations.
from clsparse.
I totally agree. From my experience (CFD) I didn't find / met any particular case where sparse vector format will overcome the dense implementation. Maybe somewhere in Quantum Physics or elsewhere such need exists.
from clsparse.
I now think that we should rename our clsparseVector class to be cldenseVector, as it really really represents dense data. We have yet to create a true clsparseVector.
Also, I think we should rename clsparseDenseMatrix as just cldenseMatrix for the same reason.
from clsparse.
Related Issues (20)
- make install not working HOT 2
- Testing depends on remote content fetching HOT 6
- Possible overlinkage HOT 2
- Missing implementations of clsparseScoomv and clsparseDcoomv HOT 4
- "Kernel not found in cache" for SPMV sample HOT 1
- C# Wrapper HOT 5
- Wrong system size checks? HOT 4
- clsparseScoo2csr crashes for small matrix sizes
- Documentation does not make clear when output matrices are allocated by the library and when they have to be supplied by the user
- Probable bug in clsparseScsrmm() with cldenseMatrix HOT 2
- Not building on OS X High Sierra
- Segfault when reading 0-based matrix
- source-provider.cpp: No such file or directory HOT 1
- How to transpose?
- Can not link shared library HOT 1
- Segmentation fault when create cl_mem in sample_spmv
- CSR matrix format stores in a file
- compile error
- Example Interface with Eigen SparseMatrix
- Build fail at mm-reader.cpp
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 clsparse.