Comments (4)
Hi Matt,
I've never seen this sort of error before. Could it be that you're using
Thrust within some extern "C" {} block? The lines of code referenced by the
compiler errors look pretty innocuous:
http://code.google.com/p/thrust/source/browse/thrust/detail/device/cuda/detail/b
40c/vector_types.h#37
Is there a smaller, self-contained example that reproduces the error?
Original comment by wnbell
on 4 Oct 2010 at 9:15
- Changed state: Accepted
- Added labels: Milestone-Release0.2
from cusp-library.
I think I found the culprit. The #define of VecType in one of the PETSc
headers [1] conflicts with the one in Thrust's radix sort.
Is it possible to #undef VecType at the end of this header? If not, I suppose
we could rename the one in Thrust. FWIW adding #undef VecType here [2] seems to
work.
[1]
http://petsc.cs.iit.edu/petsc/petsc-dev/file/e8bf41a37f92/include/petscvec.h#l98
[2]
http://petsc.cs.iit.edu/petsc/petsc-dev/file/e8bf41a37f92/src/mat/impls/aij/seq/
seqcuda/aijcuda.cu#l16
Original comment by wnbell
on 6 Oct 2010 at 5:16
from cusp-library.
Okay, that takes care of that problem, which exposes another one for me. I just
copied over the arch.h/.inl from thrust/experimental to cusp/detail/device,
which now seems to be blowing up on me. What should I be using for these files?
Thanks,
Matt
Original comment by [email protected]
on 6 Oct 2010 at 7:59
from cusp-library.
r80c0df6fbb adds the missing arch files
Original comment by wnbell
on 17 Oct 2010 at 9:06
- Changed state: Fixed
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.