Template Class CUDAArray

Inheritance Relationships

Base Type

Class Documentation

template<typename ValueType>
class sparsebase::format::CUDAArray : public sparsebase::utils::IdentifiableImplementation<CUDAArray<ValueType>, FormatOrderOne<ValueType>>

Public Functions

CUDAArray(DimensionType nnz, ValueType *row_ptr, context::CUDAContext context, Ownership own = kOwned)
CUDAArray(const CUDAArray<ValueType>&)
CUDAArray(CUDAArray<ValueType>&&)
CUDAArray<ValueType> &operator=(const CUDAArray<ValueType>&)
Format *Clone() const override
virtual ~CUDAArray()
ValueType *get_vals() const
ValueType *release_vals()
void set_vals(ValueType*, Ownership own = kNotOwned)
virtual bool ValsIsOwned()

Protected Attributes

std::unique_ptr<ValueType, std::function<void(ValueType*)>> vals_