Struct rust_cuda::kernel::LaunchConfig
source · pub struct LaunchConfig {
pub grid: GridSize,
pub block: BlockSize,
pub ptx_jit: bool,
}
Available on crate feature
host
only.Fields§
§grid: GridSize
§block: BlockSize
§ptx_jit: bool
Trait Implementations§
source§impl Clone for LaunchConfig
impl Clone for LaunchConfig
source§fn clone(&self) -> LaunchConfig
fn clone(&self) -> LaunchConfig
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 LaunchConfig
impl Debug for LaunchConfig
source§impl PartialEq for LaunchConfig
impl PartialEq for LaunchConfig
source§fn eq(&self, other: &LaunchConfig) -> bool
fn eq(&self, other: &LaunchConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LaunchConfig
impl StructuralPartialEq for LaunchConfig
Auto Trait Implementations§
impl Freeze for LaunchConfig
impl PortableBitSemantics for LaunchConfig
impl RefUnwindSafe for LaunchConfig
impl Send for LaunchConfig
impl StackOnly for LaunchConfig
impl Sync for LaunchConfig
impl Unpin for LaunchConfig
impl UnwindSafe for LaunchConfig
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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