Skip to main content

Module cuda

Module cuda 

Source
Expand description

CUDA kernel code generation and execution.

Transpiles Rust DSL kernels to CUDA and manages GPU execution.

Structs§

CompiledKernel
Compiled kernel handle.
CpuFallbackExecutor
CPU fallback executor for when CUDA is not available.
ExecutionResult
Kernel execution result.
GpuBuffer
GPU buffer wrapper for type safety.
GpuStats
GPU usage statistics.
KernelExecutor
Kernel executor for GPU operations.
KernelSource
Kernel source code holder.
LaunchConfig
Kernel launch configuration.

Enums§

GpuStatus
GPU execution backend status.
KernelType
Type of kernel.

Functions§

cuda_type_definitions
Get CUDA type definitions header.
generate_all_kernels
generate_conformance_kernel
Generate conformance kernel (legacy static version).
generate_dfg_batch_kernel
generate_dfg_kernel
Generate DFG construction kernel (legacy static version).
generate_dfg_ring_kernel
generate_partial_order_kernel
Generate partial order kernel (legacy static version).
generate_partial_order_stencil_kernel
generate_pattern_batch_kernel
generate_pattern_kernel
Generate pattern detection kernel (legacy static version).

Type Aliases§

ConformanceBuffer
DFGEdgeBuffer
DFGGraphBuffer
DFGNodeBuffer
EventBuffer
Type aliases for common GPU buffers.
PartialOrderBuffer
PatternBuffer