Home
last modified time | relevance | path

Searched refs:AllocateBuffer (Results 1 – 6 of 6) sorted by relevance

/test/xts/hats/ai/nnrt/hdi/common/
Dhdi_nnrt_test_utils.cpp121 hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in ConvertModel()
144 int ret = device->AllocateBuffer(ADDEND_BUFFER_LENGTH, buffer); in CreateIOTensor()
163 auto ret = device->AllocateBuffer(length, buffer); in CreateInputIOTensor()
191 int ret = device->AllocateBuffer(length, buffer); in CreateOutputIOTensor()
/test/xts/hats/ai/nnrt/hdi/nnrtFunctionTest/src/
Dhdi_device_test.cpp259 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer);
274 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer);
300 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer);
/test/xts/acts/ai/neural_network_runtime/common/
Dmock_idevice.h54 int32_t AllocateBuffer(uint32_t length, SharedBuffer &buffer) override;
Dmock_idevice.cpp148 int32_t MockIDevice::AllocateBuffer(uint32_t length, SharedBuffer &buffer) in AllocateBuffer() function in OHOS::HDI::Nnrt::V1_0::MockIDevice
/test/xts/hats/hdf/codec/hdi_adapter/
Dcodec_hdi_adapter_test.cpp642 …int32_t ret = g_component->AllocateBuffer(g_component, (uint32_t)PortIndex::PORT_INDEX_INPUT, &all…
655 …int32_t ret = g_component->AllocateBuffer(g_component, (uint32_t)PortIndex::PORT_INDEX_INPUT, &all…
668 …int32_t ret = g_component->AllocateBuffer(g_component, (uint32_t)PortIndex::PORT_INDEX_OUTPUT, &al…
681 …int32_t ret = g_component->AllocateBuffer(g_component, (uint32_t)PortIndex::PORT_INDEX_OUTPUT, &al…
694 …int32_t ret = g_component->AllocateBuffer(g_component, (uint32_t)PortIndex::PORT_INDEX_INPUT, &all…
707 …int32_t ret = g_component->AllocateBuffer(g_component, (uint32_t)PortIndex::PORT_INDEX_OUTPUT, &al…
/test/xts/hats/hdf/codec/hdi_omx/
Dcodec_hdi_omx_test.cpp703 …auto ret = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_INPUT, &allocBuf…
715 …auto ret = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_INPUT, &allocBuf…
727 …auto ret = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_OUTPUT, &allocBu…
739 …auto ret = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_OUTPUT, &allocBu…
1006 … err = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_INPUT, &allocBuffer);
1023 …err = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_OUTPUT, &allocBuffer);