Struct hsa::Agent
[−]
[src]
#[repr(C)]pub struct Agent { /* fields omitted */ }
Methods
impl Agent
[src]
fn list() -> Result<Vec<Agent>, ErrorStatus>
fn from_device_type(device_type: DeviceType) -> Result<Vec<Agent>, ErrorStatus>
fn name(&self) -> Result<String, ErrorStatus>
fn vendor(&self) -> Result<String, ErrorStatus>
fn feature(&self) -> Result<AgentFeature, ErrorStatus>
fn machine_model(&self) -> Result<MachineModel, ErrorStatus>
Deprecated
fn profile(&self) -> Result<Profile, ErrorStatus>
Deprecated
fn default_float_rounding_mode(
&self
) -> Result<DefaultFloatRoundingMode, ErrorStatus>
&self
) -> Result<DefaultFloatRoundingMode, ErrorStatus>
Deprecated
fn base_profile_default_float_rounding_mode(
&self
) -> Result<DefaultFloatRoundingMode, ErrorStatus>
&self
) -> Result<DefaultFloatRoundingMode, ErrorStatus>
Deprecated
fn fast_f16_operation(&self) -> Result<bool, ErrorStatus>
Deprecated
fn wavefront_size(&self) -> Result<u32, ErrorStatus>
Deprecated
fn workgroup_max_dim(&self) -> Result<[u16; 3], ErrorStatus>
Deprecated
fn workgroup_max_size(&self) -> Result<u32, ErrorStatus>
Deprecated
fn grid_max_dim(&self) -> Result<Dim3, ErrorStatus>
Deprecated
fn grid_max_size(&self) -> Result<u32, ErrorStatus>
Deprecated
fn fbarrier_max_size(&self) -> Result<u32, ErrorStatus>
Deprecated
fn queues_max(&self) -> Result<u32, ErrorStatus>
Deprecated
fn queue_min_size(&self) -> Result<u32, ErrorStatus>
fn queue_max_size(&self) -> Result<u32, ErrorStatus>
fn queue_type(&self) -> Result<QueueType, ErrorStatus>
fn node(&self) -> Result<u32, ErrorStatus>
Deprecated
fn device(&self) -> Result<DeviceType, ErrorStatus>
fn cache_size(&self) -> Result<[u32; 4], ErrorStatus>
Deprecated
fn isa(&self) -> Result<ISA, ErrorStatus>
Deprecated
fn extensions(&self) -> Result<Vec<Extension>, ErrorStatus>
fn extension_names(&self) -> Result<Vec<String>, ErrorStatus>
fn version_major(&self) -> Result<u16, ErrorStatus>
fn version_minor(&self) -> Result<u16, ErrorStatus>
fn caches(&self) -> Result<Vec<Cache>, ErrorStatus>
fn extension_supported(
&self,
extension: Extension,
version_major: u16,
version_minor: u16
) -> Result<bool, ErrorStatus>
&self,
extension: Extension,
version_major: u16,
version_minor: u16
) -> Result<bool, ErrorStatus>
Deprecated
fn major_extension_supported(
&self,
extension: Extension,
version_major: u16
) -> Result<(u16, bool), ErrorStatus>
&self,
extension: Extension,
version_major: u16
) -> Result<(u16, bool), ErrorStatus>
fn regions(&self) -> Result<Vec<Region>, ErrorStatus>
fn fine_grained_global_regions(&self) -> Result<Vec<Region>, ErrorStatus>
fn kernarg_global_regions(&self) -> Result<Vec<Region>, ErrorStatus>
fn isas(&self) -> Result<Vec<ISA>, ErrorStatus>
Trait Implementations
impl Copy for Agent
[src]
impl Clone for Agent
[src]
fn clone(&self) -> Agent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Agent
[src]
fn eq(&self, __arg_0: &Agent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Agent) -> bool
This method tests for !=
.