Home
last modified time | relevance | path

Searched refs:AllocateBuffer (Results 1 - 17 of 17) sorted by relevance

/test/xts/hats/ai/nnrt/hdi/v1_0/common/
H A Dhdi_nnrt_test_utils.cpp120 int32_t hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in ConvertModel()
147 int ret = device->AllocateBuffer(ADDEND_BUFFER_LENGTH, buffer); in CreateIOTensor()
166 auto ret = device->AllocateBuffer(length, buffer); in CreateInputIOTensor()
194 int ret = device->AllocateBuffer(length, buffer); in CreateOutputIOTensor()
/test/xts/hats/ai/nnrt/hdi/v2_0/common/
H A Dhdi_nnrt_test_utils.cpp120 int32_t hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in ConvertModel()
147 int ret = device->AllocateBuffer(ADDEND_BUFFER_LENGTH, buffer); in CreateIOTensor()
166 auto ret = device->AllocateBuffer(length, buffer); in CreateInputIOTensor()
194 int ret = device->AllocateBuffer(length, buffer); in CreateOutputIOTensor()
/test/xts/hats/ai/nnrt/hdi/v1_0/nnrtFunctionTest/src/
H A Dhdi_device_test.cpp259 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F()
274 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F()
300 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F()
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest/src/
H A Dhdi_device_test.cpp259 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F()
274 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F()
300 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F()
/test/xts/hats/hdf/codec/benchmarktest/
H A Dcodec_benchmark_omx_test.cpp316 BENCHMARK_F(CodecBenchmarkOmxTest, AllocateBuffer)(benchmark::State &state) in BENCHMARK_F()
324 ret = component_->AllocateBuffer(inputIndex, allocBuffer, outBuffer); in BENCHMARK_F()
329 BENCHMARK_REGISTER_F(CodecBenchmarkOmxTest, AllocateBuffer)->
/test/xts/hats/hdf/codec/hdi_component_additional/
H A Dcodec_component_test.cpp1427 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F()
1449 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F()
1469 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F()
1497 err = g_component->AllocateBuffer(OUTPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F()
1518 * @tc.desc : Set the component status to OMX first_ StateLoaded, call the AllocateBuffer function to apply for space,
1531 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F()
1551 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F()
1572 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F()
1593 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F()
1614 err = g_component->AllocateBuffer(INPUT_INDE in HWTEST_F()
[all...]
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
H A Dmock_idevice.h57 int32_t AllocateBuffer(uint32_t length, SharedBuffer &buffer) override;
H A Dmock_idevice.cpp238 int32_t MockIDevice::AllocateBuffer(uint32_t length, SharedBuffer &buffer) in AllocateBuffer() function in OHOS::HDI::Nnrt::V2_0::MockIDevice
/test/xts/acts/ai/neural_network_runtime/v1_0/common/
H A Dmock_idevice.h57 int32_t AllocateBuffer(uint32_t length, SharedBuffer &buffer) override;
H A Dmock_idevice.cpp220 int32_t MockIDevice::AllocateBuffer(uint32_t length, SharedBuffer &buffer) in AllocateBuffer() function in OHOS::HDI::Nnrt::V1_0::MockIDevice
/test/xts/acts/ai/nncore/opstest/include/
H A Dmock_idevice.h57 int32_t AllocateBuffer(uint32_t length, SharedBuffer &buffer) override;
/test/xts/acts/ai/nncore/common/
H A Dmock_idevice.h57 int32_t AllocateBuffer(uint32_t length, SharedBuffer &buffer) override;
H A Dmock_idevice.cpp236 int32_t MockIDevice::AllocateBuffer(uint32_t length, SharedBuffer &buffer) in AllocateBuffer() function in OHOS::HDI::Nnrt::V2_0::MockIDevice
/test/xts/hats/hdf/codec/hdi_omx/
H A Dcodec_hdi_omx_test.cpp741 auto ret = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_INPUT, &allocBuffer); in HWTEST_F()
753 auto ret = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_INPUT, &allocBuffer); in HWTEST_F()
765 auto ret = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_OUTPUT, &allocBuffer); in HWTEST_F()
777 auto ret = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_OUTPUT, &allocBuffer); in HWTEST_F()
1030 err = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_INPUT, &allocBuffer); in HWTEST_F()
1047 err = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_OUTPUT, &allocBuffer); in HWTEST_F()
/test/xts/acts/ai/nncore/opstest/src/
H A Dmock_idevice.cpp236 int32_t MockIDevice::AllocateBuffer(uint32_t length, SharedBuffer &buffer) in AllocateBuffer() function in OHOS::HDI::Nnrt::V2_1::MockIDevice
/test/xts/hats/hdf/codec/hdi_idlomx/
H A Dcodec_function_utils.cpp243 auto err = component->AllocateBuffer(static_cast<uint32_t>(port), *omxBuffer.get(), outBuffer); in AllocateBufferOnPort()
245 HDF_LOGE("AllocateBuffer error"); in AllocateBufferOnPort()
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest_additional/src/
H A Dhdi_device_test.cpp2898 * @tc.desc: Call function V2 AllocateBuffer, tensorSize is -1
2904 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F()
2925 hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F()

Completed in 18 milliseconds