Struct custos_math::custos::devices::opencl::api::CLIntDevice
pub struct CLIntDevice(pub *mut c_void);Tuple Fields§
§0: *mut c_voidImplementations§
§impl CLIntDevice
impl CLIntDevice
pub fn get_name( self ) -> Result<String, Box<dyn Error + Sync + Send + 'static, Global>>
pub fn get_version( self ) -> Result<String, Box<dyn Error + Sync + Send + 'static, Global>>
pub fn get_global_mem( self ) -> Result<u64, Box<dyn Error + Sync + Send + 'static, Global>>
pub fn get_max_mem_alloc( self ) -> Result<u64, Box<dyn Error + Sync + Send + 'static, Global>>
pub fn unified_mem( self ) -> Result<bool, Box<dyn Error + Sync + Send + 'static, Global>>
Trait Implementations§
§impl Clone for CLIntDevice
impl Clone for CLIntDevice
§fn clone(&self) -> CLIntDevice
fn clone(&self) -> CLIntDevice
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 more