MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / ~NvOFBufferCudaArray

Method ~NvOFBufferCudaArray

src/opr/impl/nvof/NvOFCuda.cpp:262–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262NvOFBufferCudaArray::~NvOFBufferCudaArray() {
263 m_NvOFAPI->GetAPI()->nvOFDestroyGPUBufferCuda(m_hGPUBuffer);
264}
265
266void NvOFBufferCudaArray::UploadData(const void* pData, CUmemorytype mem_type) {
267 CUstream stream = m_NvOFAPI->GetCudaStream(getBufferUsage());

Callers

nothing calls this directly

Calls 1

GetAPIMethod · 0.80

Tested by

no test coverage detected