Skip to content

Commit

Permalink
Empty constructor for sparse matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemidov committed Dec 12, 2012
1 parent 26221e6 commit 2703fba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vexcl/spmat.hpp
Expand Up @@ -144,6 +144,9 @@ operator*(const M &A, const multivector<T, N, own> &x) {
template <typename real, typename column_t = size_t, typename idx_t = size_t>
class SpMat : matrix_terminal<real> {
public:
/// Empty constructor.
SpMat() {}

/// Constructor.
/**
* Constructs GPU representation of the matrix. Input matrix is in CSR
Expand Down Expand Up @@ -288,7 +291,7 @@ class SpMat : matrix_terminal<real> {
mutable cl::Buffer rx;
};

const std::vector<cl::CommandQueue> &queue;
const std::vector<cl::CommandQueue> queue;
std::vector<cl::CommandQueue> squeue;
const std::vector<size_t> part;

Expand Down

0 comments on commit 2703fba

Please sign in to comment.