Struct libdrm_amdgpu_sys::AMDGPU::drm_amdgpu_info_gds
source · #[repr(C)]pub struct drm_amdgpu_info_gds {
pub gds_gfx_partition_size: c_uint,
pub compute_partition_size: c_uint,
pub gds_total_size: c_uint,
pub gws_per_gfx_partition: c_uint,
pub gws_per_compute_partition: c_uint,
pub oa_per_gfx_partition: c_uint,
pub oa_per_compute_partition: c_uint,
pub _pad: c_uint,
}Fields§
§gds_gfx_partition_size: c_uintGDS GFX partition size
compute_partition_size: c_uintGDS compute partition size
gds_total_size: c_uinttotal GDS memory size
gws_per_gfx_partition: c_uintGWS size per GFX partition
gws_per_compute_partition: c_uintGSW size per compute partition
oa_per_gfx_partition: c_uintOA size per GFX partition
oa_per_compute_partition: c_uintOA size per compute partition
_pad: c_uintTrait Implementations§
source§impl Clone for drm_amdgpu_info_gds
impl Clone for drm_amdgpu_info_gds
source§fn clone(&self) -> drm_amdgpu_info_gds
fn clone(&self) -> drm_amdgpu_info_gds
Returns a copy 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 moresource§impl Debug for drm_amdgpu_info_gds
impl Debug for drm_amdgpu_info_gds
impl Copy for drm_amdgpu_info_gds
Auto Trait Implementations§
impl RefUnwindSafe for drm_amdgpu_info_gds
impl Send for drm_amdgpu_info_gds
impl Sync for drm_amdgpu_info_gds
impl Unpin for drm_amdgpu_info_gds
impl UnwindSafe for drm_amdgpu_info_gds
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