Function Prototype
vkGetTensorMemoryRequirementsARM
Returns the memory requirements for specified Vulkan object
To determine the memory requirements for a tensor resource, call:
void vkGetTensorMemoryRequirementsARM(
VkDevice device,
const VkTensorMemoryRequirementsInfoARM* pInfo,
VkMemoryRequirements2* pMemoryRequirements);
pub fn get_tensor_memory_requirements_arm(
device: vk::Device,
p_info: *const vk::TensorMemoryRequirementsInfoARM,
p_memory_requirements: *mut vk::MemoryRequirements2,
);
deviceis the logical device that owns the tensor.pInfois a pointer to a VkTensorMemoryRequirementsInfoARM structure containing parameters required for the memory requirements query.pMemoryRequirementsis a pointer to a VkMemoryRequirements2 structure in which the memory requirements of the tensor object are returned.
Valid Usage (Implicit)
VUID-vkGetTensorMemoryRequirementsARM-device-parameter
device must be a valid VkDevice handle
VUID-vkGetTensorMemoryRequirementsARM-pInfo-parameter
pInfo must be a valid pointer to a valid VkTensorMemoryRequirementsInfoARM structure
VUID-vkGetTensorMemoryRequirementsARM-pMemoryRequirements-parameter
pMemoryRequirements must be a valid pointer to a VkMemoryRequirements2 structure
Parent
VK_ARM_tensorsType
Function Prototype