mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Made CuSparseMatrix non-copyable.
This commit is contained in:
parent
67f94ce8a3
commit
42b6a74ce5
@ -67,7 +67,15 @@ public:
|
||||
size_t blockSize,
|
||||
size_t numberOfRows);
|
||||
|
||||
// TODO: Handle copy ctor and operator=
|
||||
/**
|
||||
* We don't want to be able to copy this for now (too much hassle in copying the cusparse resources)
|
||||
*/
|
||||
CuSparseMatrix(const CuSparseMatrix&) = delete;
|
||||
|
||||
/**
|
||||
* We don't want to be able to copy this for now (too much hassle in copying the cusparse resources)
|
||||
*/
|
||||
CuSparseMatrix& operator=(const CuSparseMatrix&) = delete;
|
||||
|
||||
virtual ~CuSparseMatrix();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user