MCPcopy Create free account
hub / github.com/alibaba/MNN / mapMemory

Method mapMemory

source/backend/vulkan/component/VulkanDevice.cpp:306–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306const VkResult VulkanDevice::mapMemory(const VkDeviceMemory memory, const VkDeviceSize offset, const VkDeviceSize size,
307 const VkMemoryMapFlags flags, void** ppData) const {
308 return vkMapMemory(mDevice, memory, offset, size, flags, ppData);
309}
310
311const void VulkanDevice::unmapMemory(const VkDeviceMemory memory) const {
312 vkUnmapMemory(mDevice, memory);

Callers 2

VulkanBufferMethod · 0.80
mapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected