template class NCVVectorReuse

NCVVectorReuse

#include <NCV.hpp>

template <class T>
class NCVVectorReuse: public NCVVector
{
public:
    // construction

    NCVVectorReuse(const NCVMemSegment& memSegment);

    NCVVectorReuse(
        const NCVMemSegment& memSegment,
        Ncv32u length_
        );

    // methods

    NcvBool
    isMemReused() const;
};

Inherited Members

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;