Comments (3)
Original comment by wnbell
on 14 Feb 2011 at 7:21
- Added labels: Milestone-Release0.3
- Removed labels: Milestone-Release0.2
from cusp-library.
I'm not sure what's the problem with declaring matrix containers in cpp files.
I tried doing:
#include <cusp/csr_matrix.h>
int main(){
cusp::csr_matrix<int,float,cusp::device_memory> A(4,3,6);
cusp::array1d<float, cusp::device_memory> x(3);
cusp::array1d<float, cusp::device_memory> y(4);
}
And it worked fine. I can compile it and link against .cu files that do the
actual work on the matrix.
You just have to make sure to include the CUDA include files.
Are there other containers which don't work? Does the bug report mean something
else?
Original comment by [email protected]
on 28 Feb 2011 at 7:14
from cusp-library.
Original comment by wnbell
on 5 Feb 2012 at 1:06
- Added labels: Milestone-Release0.4
- Removed labels: Milestone-Release0.3
from cusp-library.
Related Issues (20)
- Patch for /cusp/detail/device/multiply.h HOT 2
- Error encountered when Cuspv0.3 is included with Visual C++
- TFQMR
- Does the algebraic multigrid preconditioner support cusp::complex?
- provide an easy CFD example using cusp.(cavity flow...)
- CUSP 0.3.0 breaks with CUDA5?
- missing thrust/system/cuda/detail/arch.h HOT 10
- print fails with complex dense matrices
- sparse diagonal matrix-vector multiplication is inconsistent across host and device memory HOT 2
- Confusion about the default format involved in matrix-vector multiplication
- Debugging experience about arch.h
- not able to compile
- Any plan to port this library to OpenCL ?
- gmres with b = 0 fails HOT 1
- Matrix Market example fails HOT 1
- CUSP 0.3.0 compatible with CUDA 5
- Patch for /examples/MatrixFormats/dia.cu
- Memory issue with diagonal format with row-major ordering HOT 3
- Feature Request: Krylov Mixed Precision Iterative Refinement Solver
- Calculation difference between GPU and CPU
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 cusp-library.