Skip to main content

Module cuda

Module cuda 

Source
Expand description

CUDA provider namespace.

Modules§

cubecl
Public tenferro-wide CubeCL session (issue #1597).
raw
Type-safe raw CUDA extension session (issue #1597).

Structs§

CudaBackend
CudaComputeCapability
CUDA compute capability major.minor (e.g. 9.0 for Hopper-class parts).
CudaDeviceId
Provider-qualified identity of a CUDA device ordinal.
CudaDeviceInfo
Immutable metadata describing one CUDA device.
CudaDeviceUuid
Stable physical or MIG device identity as a 16-byte UUID.
CudaExecSession
Borrowed CUDA execution capability.
CudaRuntime
CubeCL CUDA runtime wrapper.
CudaRuntimeIdentity
Opaque identity of one exact CUDA runtime instance.

Enums§

CudaDeviceError
Structured failures from CUDA device discovery and initialization.
GpuExtensionCapability
Capability a GPU extension may query before using a provider-specific path.

Functions§

cuda_capabilities
Return the CUDA backend operation capability descriptor table.
cuda_devices
Discover CUDA devices visible to the current process.
cuda_runtime_engine_registration
Build a runtime engine registration for a CudaBackend and caller-selected EngineId.
cuda_runtime_hardware_class
Return the canonical CUDA runtime hardware class.
download_tensor
Download a CubeCL-managed GPU tensor back to host memory.
gpu_available
Returns true if a CUDA device can initialize a CubeCL runtime.
upload_tensor
Upload a host tensor into a CubeCL-managed GPU allocation.
with_cuda_exec_session
Visit a CUDA execution session through the erased backend-session surface.