template class NCVVectorAlloc

NCVVectorAlloc

#include <NCV.hpp>

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

    NCVVectorAlloc(
        INCVMemAllocator& allocator_,
        Ncv32u length_
        );

    // methods

    Ncv32u
    getAllocatorsAlignment() const;

    NCVMemSegment
    getSegment() const;

    NcvBool
    isMemAllocated() 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;