You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 filipe.c...@gmail.com on 28 Feb 2011 at 7:14
Original issue reported on code.google.com by
wnbell
on 29 Apr 2010 at 12:02The text was updated successfully, but these errors were encountered: