pub struct DeviceRandomVarList { /* private fields */ }Expand description
Device-resident random-variable list for GPU smoothing.
Implementations§
Source§impl DeviceRandomVarList
impl DeviceRandomVarList
pub fn from_device(list: TrackedCudaSlice<u32>, count: u32) -> Result<Self>
pub fn from_host(provider: &CudaKernelProvider, host: &[u32]) -> Result<Self>
pub fn is_empty(&self) -> bool
pub fn count(&self) -> u32
pub fn list(&self) -> &TrackedCudaSlice<u32>
Auto Trait Implementations§
impl Freeze for DeviceRandomVarList
impl RefUnwindSafe for DeviceRandomVarList
impl Send for DeviceRandomVarList
impl Sync for DeviceRandomVarList
impl Unpin for DeviceRandomVarList
impl UnsafeUnpin for DeviceRandomVarList
impl UnwindSafe for DeviceRandomVarList
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