#[repr(C)]pub struct PhysicalDeviceTensorPropertiesARM {Show 15 fields
pub s_type: StructureType,
pub p_next: *mut c_void,
pub max_tensor_dimension_count: u32,
pub max_tensor_elements: u64,
pub max_per_dimension_tensor_elements: u64,
pub max_tensor_stride: i64,
pub max_tensor_size: u64,
pub max_tensor_shader_access_array_length: u32,
pub max_tensor_shader_access_size: u32,
pub max_descriptor_set_storage_tensors: u32,
pub max_per_stage_descriptor_set_storage_tensors: u32,
pub max_descriptor_set_update_after_bind_storage_tensors: u32,
pub max_per_stage_descriptor_update_after_bind_storage_tensors: u32,
pub shader_storage_tensor_array_non_uniform_indexing_native: u32,
pub shader_tensor_supported_stages: ShaderStageFlags,
}Expand description
VkPhysicalDeviceTensorPropertiesARM
Provided by VK_ARM_tensors.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TENSOR_PROPERTIES_ARM.
p_next: *mut c_voidOptional, may be null.
max_tensor_dimension_count: u32§max_tensor_elements: u64§max_per_dimension_tensor_elements: u64§max_tensor_stride: i64§max_tensor_size: u64§max_tensor_shader_access_array_length: u32§max_tensor_shader_access_size: u32§max_descriptor_set_storage_tensors: u32§max_per_stage_descriptor_set_storage_tensors: u32§max_descriptor_set_update_after_bind_storage_tensors: u32§max_per_stage_descriptor_update_after_bind_storage_tensors: u32§shader_storage_tensor_array_non_uniform_indexing_native: u32§shader_tensor_supported_stages: ShaderStageFlagsImplementations§
Source§impl PhysicalDeviceTensorPropertiesARM
impl PhysicalDeviceTensorPropertiesARM
Sourcepub fn builder<'a>() -> PhysicalDeviceTensorPropertiesARMBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceTensorPropertiesARMBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceTensorPropertiesARM
impl Clone for PhysicalDeviceTensorPropertiesARM
Source§fn clone(&self) -> PhysicalDeviceTensorPropertiesARM
fn clone(&self) -> PhysicalDeviceTensorPropertiesARM
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PhysicalDeviceTensorPropertiesARM
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceTensorPropertiesARM
Auto Trait Implementations§
impl Freeze for PhysicalDeviceTensorPropertiesARM
impl RefUnwindSafe for PhysicalDeviceTensorPropertiesARM
impl !Send for PhysicalDeviceTensorPropertiesARM
impl !Sync for PhysicalDeviceTensorPropertiesARM
impl Unpin for PhysicalDeviceTensorPropertiesARM
impl UnsafeUnpin for PhysicalDeviceTensorPropertiesARM
impl UnwindSafe for PhysicalDeviceTensorPropertiesARM
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more