MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / TensorWrapDataStrided

Method TensorWrapDataStrided

src/nvcv/src/priv/TensorWrapDataStrided.cpp:107–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107TensorWrapDataStrided::TensorWrapDataStrided(const NVCVTensorData &tdata, NVCVTensorDataCleanupFunc cleanup,
108 void *ctxCleanup)
109 : m_tdata(tdata)
110 , m_cleanup(cleanup)
111 , m_ctxCleanup(ctxCleanup)
112{
113 ValidateTensorBufferStrided(tdata);
114}
115
116TensorWrapDataStrided::~TensorWrapDataStrided()
117{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected