pub struct CudaTestEnv {
pub device: CudaDevice<'static>,
pub capability: Capability,
}Expand description
A device + capability pair set up for a test, via setup_cuda_env.
Fields§
§device: CudaDevice<'static>The opened test device.
capability: CapabilityThe device’s (possibly TEENYC_CAPABILITY-overridden) compute capability.
Auto Trait Implementations§
impl Freeze for CudaTestEnv
impl RefUnwindSafe for CudaTestEnv
impl !Send for CudaTestEnv
impl !Sync for CudaTestEnv
impl Unpin for CudaTestEnv
impl UnsafeUnpin for CudaTestEnv
impl UnwindSafe for CudaTestEnv
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