Struct rust_cuda::kernel::param::PerThreadShallowCopy
source · pub struct PerThreadShallowCopy<T: StackOnly + PortableBitSemantics + TypeGraphLayout> { /* private fields */ }
Trait Implementations§
source§impl<'a, T: Sync + StackOnly + PortableBitSemantics + TypeGraphLayout> CudaKernelParameter for &'a PerThreadShallowCopy<T>
impl<'a, T: Sync + StackOnly + PortableBitSemantics + TypeGraphLayout> CudaKernelParameter for &'a PerThreadShallowCopy<T>
§type AsyncHostType<'stream, 'b> = AsyncProj<'b, 'stream, HostAndDeviceConstRef<'b, T>>
where
Self: 'b
type AsyncHostType<'stream, 'b> = AsyncProj<'b, 'stream, HostAndDeviceConstRef<'b, T>> where Self: 'b
Available on crate feature
host
only.§type DeviceType<'b> = &'b T
where
Self: 'b
type DeviceType<'b> = &'b T where Self: 'b
Available on crate feature
device
only.§type SyncHostType = &'a T
type SyncHostType = &'a T
Available on crate feature
host
only.source§fn with_new_async<'stream, 'b, O, E: From<CudaError>>(
param: Self::SyncHostType,
stream: Stream<'stream>,
inner: impl FnOnce(Self::AsyncHostType<'stream, 'b>) -> Result<O, E>,
) -> Result<O, E>where
Self: 'b,
fn with_new_async<'stream, 'b, O, E: From<CudaError>>(
param: Self::SyncHostType,
stream: Stream<'stream>,
inner: impl FnOnce(Self::AsyncHostType<'stream, 'b>) -> Result<O, E>,
) -> Result<O, E>where
Self: 'b,
Available on crate feature
host
only.source§impl<T: Copy + Send + StackOnly + PortableBitSemantics + TypeGraphLayout> CudaKernelParameter for PerThreadShallowCopy<T>
impl<T: Copy + Send + StackOnly + PortableBitSemantics + TypeGraphLayout> CudaKernelParameter for PerThreadShallowCopy<T>
§type AsyncHostType<'stream, 'b> = T
where
Self: 'b
type AsyncHostType<'stream, 'b> = T where Self: 'b
Available on crate feature
host
only.§type DeviceType<'b> = T
where
Self: 'b
type DeviceType<'b> = T where Self: 'b
Available on crate feature
device
only.§type SyncHostType = T
type SyncHostType = T
Available on crate feature
host
only.source§fn with_new_async<'stream, 'b, O, E: From<CudaError>>(
param: Self::SyncHostType,
_stream: Stream<'stream>,
inner: impl FnOnce(Self::AsyncHostType<'stream, 'b>) -> Result<O, E>,
) -> Result<O, E>where
Self: 'b,
fn with_new_async<'stream, 'b, O, E: From<CudaError>>(
param: Self::SyncHostType,
_stream: Stream<'stream>,
inner: impl FnOnce(Self::AsyncHostType<'stream, 'b>) -> Result<O, E>,
) -> Result<O, E>where
Self: 'b,
Available on crate feature
host
only.source§impl<T: StackOnly + PortableBitSemantics + TypeGraphLayout> Deref for PerThreadShallowCopy<T>
impl<T: StackOnly + PortableBitSemantics + TypeGraphLayout> Deref for PerThreadShallowCopy<T>
source§impl<T: StackOnly + PortableBitSemantics + TypeGraphLayout> DerefMut for PerThreadShallowCopy<T>
impl<T: StackOnly + PortableBitSemantics + TypeGraphLayout> DerefMut for PerThreadShallowCopy<T>
Auto Trait Implementations§
impl<T> Freeze for PerThreadShallowCopy<T>
impl<T> PortableBitSemantics for PerThreadShallowCopy<T>
impl<T> RefUnwindSafe for PerThreadShallowCopy<T>where
T: RefUnwindSafe,
impl<T> Send for PerThreadShallowCopy<T>where
T: Send,
impl<T> StackOnly for PerThreadShallowCopy<T>
impl<T> Sync for PerThreadShallowCopy<T>where
T: Sync,
impl<T> Unpin for PerThreadShallowCopy<T>where
T: Unpin,
impl<T> UnwindSafe for PerThreadShallowCopy<T>where
T: UnwindSafe,
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> ExtractDiscriminant for T
impl<T> ExtractDiscriminant for T
§type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
The type of the discriminant, which must satisfy the trait bounds
required by
core::mem::Discriminant
. Read more