Searched refs:AllocateBuffer (Results 1 – 6 of 6) sorted by relevance
/test/xts/hats/ai/nnrt/hdi/common/ |
D | hdi_nnrt_test_utils.cpp | 121 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/ |
D | hdi_device_test.cpp | 259 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/ |
D | mock_idevice.h | 54 int32_t AllocateBuffer(uint32_t length, SharedBuffer &buffer) override;
|
D | mock_idevice.cpp | 148 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/ |
D | codec_hdi_adapter_test.cpp | 642 …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/ |
D | codec_hdi_omx_test.cpp | 703 …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);
|