Home
last modified time | relevance | path

Searched refs:memoryAllocateInfo (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/mlir/tools/mlir-vulkan-runner/
H A DVulkanRuntime.cpp438 VkMemoryAllocateInfo memoryAllocateInfo = {}; in createMemoryBuffers() local
439 memoryAllocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in createMemoryBuffers()
440 memoryAllocateInfo.pNext = nullptr; in createMemoryBuffers()
441 memoryAllocateInfo.allocationSize = bufferSize; in createMemoryBuffers()
442 memoryAllocateInfo.memoryTypeIndex = hostMemoryTypeIndex; in createMemoryBuffers()
445 RETURN_ON_VULKAN_ERROR(vkAllocateMemory(device, &memoryAllocateInfo, in createMemoryBuffers()
449 memoryAllocateInfo.memoryTypeIndex = deviceMemoryTypeIndex; in createMemoryBuffers()
450 RETURN_ON_VULKAN_ERROR(vkAllocateMemory(device, &memoryAllocateInfo, in createMemoryBuffers()