template class NCVVector

NCVVector (1D)

#include <NCV.hpp>

template <class T>
class NCVVector
{
public:
    // methods

    void
    clear();

    NCVStatus
    copySolid(
        NCVVector<T>& dst,
        cudaStream_t cuStream,
        size_t howMuch = 0
        ) const;

    size_t
    length() const;

    NCVMemoryType
    memType() const;

    T*
    ptr() const;

protected:
    // fields

    size_t _length;
    NCVMemoryType _memtype;
    T* _ptr;
};

// direct descendants

template <class T>
class NCVVectorAlloc;

template <class T>
class NCVVectorReuse;