#[repr(u32)]pub enum rocblas_pointer_mode_ {
rocblas_pointer_mode_host,
rocblas_pointer_mode_device,
}
Expand description
\brief Indicates if scalar pointers are on host or device. This is used for scalars alpha and beta and for scalar function return values.
Variants§
rocblas_pointer_mode_host
\brief Scalar values affected by this variable are located on the host.
rocblas_pointer_mode_device
\brief Scalar values affected by this variable are located on the device.
Trait Implementations§
source§impl Clone for rocblas_pointer_mode_
impl Clone for rocblas_pointer_mode_
source§fn clone(&self) -> rocblas_pointer_mode_
fn clone(&self) -> rocblas_pointer_mode_
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 rocblas_pointer_mode_
impl Debug for rocblas_pointer_mode_
source§impl Hash for rocblas_pointer_mode_
impl Hash for rocblas_pointer_mode_
source§impl PartialEq<rocblas_pointer_mode_> for rocblas_pointer_mode_
impl PartialEq<rocblas_pointer_mode_> for rocblas_pointer_mode_
source§fn eq(&self, other: &rocblas_pointer_mode_) -> bool
fn eq(&self, other: &rocblas_pointer_mode_) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for rocblas_pointer_mode_
impl Eq for rocblas_pointer_mode_
impl StructuralEq for rocblas_pointer_mode_
impl StructuralPartialEq for rocblas_pointer_mode_
Auto Trait Implementations§
impl RefUnwindSafe for rocblas_pointer_mode_
impl Send for rocblas_pointer_mode_
impl Sync for rocblas_pointer_mode_
impl Unpin for rocblas_pointer_mode_
impl UnwindSafe for rocblas_pointer_mode_
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