Home
last modified time | relevance | path

Searched refs:AllocateMemory (Results 1 - 6 of 6) sorted by relevance

/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnntensor.cpp82 ret = AllocateMemory(byteSize); in CreateData()
117 ret = AllocateMemory(size); in CreateData()
162 LOGE("NNTensor2_0::AllocateMemory failed, Map fd to address failed: %{public}s.", strerror(errno)); in CreateData()
219 OH_NN_ReturnCode NNTensor2_0::AllocateMemory(size_t length) in AllocateMemory() function in OHOS::NeuralNetworkRuntime::NNTensor2_0
224 LOGE("NNTensor2_0::AllocateMemory failed, failed to get backend of %{public}zu.", m_backendID); in AllocateMemory()
231 LOGE("NNTensor2_0::AllocateMemory failed, device of nnbackend is nullptr."); in AllocateMemory()
237 LOGE("NNTensor2_0::AllocateMemory failed, failed to allocate buffer."); in AllocateMemory()
241 LOGE("NNTensor2_0::AllocateMemory failed, fd must greater than 0."); in AllocateMemory()
247 LOGE("NNTensor2_0::AllocateMemory failed, Map fd to address failed: %{public}s.", strerror(errno)); in AllocateMemory()
H A Dnntensor.h51 OH_NN_ReturnCode AllocateMemory(size_t length);
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dgpu_buffer_vk.h56 void AllocateMemory(const VkMemoryPropertyFlags requiredFlags, const VkMemoryPropertyFlags preferredFlags);
H A Dgpu_buffer_vk.cpp206 AllocateMemory(requiredFlags, preferredFlags); in CreateBufferImpl()
315 void GpuBufferVk::AllocateMemory(const VkMemoryPropertyFlags requiredFlags, const VkMemoryPropertyFlags preferredFlags) in AllocateMemory() function in GpuBufferVk
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/
H A Drs_vulkan_context.h116 DEFINE_FUNC(AllocateMemory);
H A Drs_vulkan_context.cpp346 ACQUIRE_PROC(AllocateMemory, device_); in SetupDeviceProcAddresses()

Completed in 4 milliseconds