pub trait PushKernelArg {
// Required method
fn push_to(self, params: &mut KernelParameters<'_>);
}Expand description
Appends a value to a CUDA kernel parameter list.
Implementations convert Rust wrapper types into the value a CUDA kernel sees at the ABI boundary, such as a scalar or device pointer.
Required Methods§
Sourcefn push_to(self, params: &mut KernelParameters<'_>)
fn push_to(self, params: &mut KernelParameters<'_>)
Appends this value in the kernel ABI representation selected by its implementation.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".