Searched refs:deviceOutputBuffer (Results 1 – 1 of 1) sorted by relevance
778 …void* deviceOutputBuffer = m_device->AllocateTensorBuffer(length, m_outputTensorDescs[index].first… in SetOutput() local779 if (deviceOutputBuffer == nullptr) { in SetOutput()784 m_outputTensors[index].tensor->SetBuffer(deviceOutputBuffer, length); in SetOutput()918 …void* deviceOutputBuffer = m_device->AllocateTensorBuffer(length, m_outputTensorDescs[index].first… in CreateOutputMemory() local919 if (deviceOutputBuffer == nullptr) { in CreateOutputMemory()924 *memory = new(std::nothrow) OH_NN_Memory{deviceOutputBuffer, length}; in CreateOutputMemory()927 m_device->ReleaseBuffer(deviceOutputBuffer); in CreateOutputMemory()932 m_outputCreatedMem[index].emplace_back(deviceOutputBuffer); in CreateOutputMemory()