pub enum Api {
None,
Hip(HipApi),
Cuda(CudaApi),
CudaSplit(CudaSplitApi),
}
Expand description
CUDA API variants.
Variants§
Implementations§
Trait Implementations§
Source§impl From<CudaSplitApi> for Api
impl From<CudaSplitApi> for Api
Source§fn from(from: CudaSplitApi) -> Self
fn from(from: CudaSplitApi) -> Self
Converts to this type from the input type.
impl Eq for Api
impl StructuralPartialEq for Api
Auto Trait Implementations§
impl Freeze for Api
impl RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl UnwindSafe for Api
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.