pub struct GpuDeviceInfoProto {Show 18 fields
pub threads_per_block_limit: i32,
pub threads_per_warp: i32,
pub shared_memory_per_block: i32,
pub shared_memory_per_core: i32,
pub threads_per_core_limit: i32,
pub core_count: i32,
pub fpus_per_core: i64,
pub block_dim_limit_x: i32,
pub block_dim_limit_y: i32,
pub block_dim_limit_z: i32,
pub memory_bandwidth: i64,
pub l2_cache_size: i64,
pub clock_rate_ghz: f32,
pub device_memory_size: i64,
pub shared_memory_per_block_optin: i32,
pub registers_per_core_limit: i64,
pub registers_per_block_limit: i64,
pub compute_capability: Option<ComputeCapability>,
}Fields§
§threads_per_block_limit: i32§threads_per_warp: i32§threads_per_core_limit: i32§core_count: i32§fpus_per_core: i64§block_dim_limit_x: i32§block_dim_limit_y: i32§block_dim_limit_z: i32§memory_bandwidth: i64§l2_cache_size: i64§clock_rate_ghz: f32§device_memory_size: i64§registers_per_core_limit: i64§registers_per_block_limit: i64§compute_capability: Option<ComputeCapability>Trait Implementations§
Source§impl Clone for GpuDeviceInfoProto
impl Clone for GpuDeviceInfoProto
Source§fn clone(&self) -> GpuDeviceInfoProto
fn clone(&self) -> GpuDeviceInfoProto
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GpuDeviceInfoProto
impl Debug for GpuDeviceInfoProto
Source§impl Default for GpuDeviceInfoProto
impl Default for GpuDeviceInfoProto
Source§impl Message for GpuDeviceInfoProto
impl Message for GpuDeviceInfoProto
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for GpuDeviceInfoProto
impl PartialEq for GpuDeviceInfoProto
impl StructuralPartialEq for GpuDeviceInfoProto
Auto Trait Implementations§
impl Freeze for GpuDeviceInfoProto
impl RefUnwindSafe for GpuDeviceInfoProto
impl Send for GpuDeviceInfoProto
impl Sync for GpuDeviceInfoProto
impl Unpin for GpuDeviceInfoProto
impl UnwindSafe for GpuDeviceInfoProto
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)