Re-exports§
pub use crate::device::CudaFunction;
Modules§
Structs§
- Cuda
Slice Vec<T>on a cuda device. You can allocate and modify this with CudaStream.- Cuda
Stream - A wrapper around sys::CUstream that you can schedule work on.
- Cuda
View &[T]on a cuda device. An immutable sub-view into a CudaSlice created by CudaSlice::as_view()/CudaSlice::slice().- Cuda
View Mut &mut [T]on a cuda device. A mutable sub-view into a CudaSlice created by CudaSlice::as_view_mut()/CudaSlice::slice_mut().- Device
Param Storage - Driver
Error - Wrapper around sys::CUresult. See nvidia’s CUresult docs
- Launch
Config - Configuration for [result::launch_kernel]
- Scalar
Param Storage
Traits§
- AsKernel
Param - Backwards-compatible
as_kernel_param()helper for manual raw launch lists. - Device
Ptr - Abstraction over CudaSlice/CudaView
- Device
PtrMut - Abstraction over CudaSlice/CudaViewMut
- Device
Repr - Something that can be copied to device memory and turned into a parameter for [result::launch_kernel].
- Device
Slice - Base trait for abstracting over CudaSlice/CudaView/CudaViewMut.
- Into
Kernel Param Storage - Convert a launch argument into storage that lives until
cuLaunchKernelruns. - Kernel
Param Storage - Stable host-side storage for a kernel argument pointer.
- Kernel
Scalar - Scalar kernel parameters that can be copied directly into launch storage.
- Launch
Async - Old cudarc-style launch trait reimplemented on top of CUDA 13-compatible raw kernel launches.
- Valid
AsZero Bits - Marker trait to indicate that the type is valid when all of its bits are set to 0.