Searched refs:AllocateMemory (Results 1 - 6 of 6) sorted by relevance
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | nntensor.cpp | 82 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 D | nntensor.h | 51 OH_NN_ReturnCode AllocateMemory(size_t length);
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | gpu_buffer_vk.h | 56 void AllocateMemory(const VkMemoryPropertyFlags requiredFlags, const VkMemoryPropertyFlags preferredFlags);
|
H A D | gpu_buffer_vk.cpp | 206 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 D | rs_vulkan_context.h | 116 DEFINE_FUNC(AllocateMemory);
|
H A D | rs_vulkan_context.cpp | 346 ACQUIRE_PROC(AllocateMemory, device_);
in SetupDeviceProcAddresses()
|
Completed in 4 milliseconds