Expand description
Optimisation passes for the OxiCUDA computation graph.
Three complementary passes transform a validated ComputeGraph into
a form ready for execution:
-
fusion— Identifies chains of element-wise kernels that can be merged into a single PTX kernel, reducing kernel-launch overhead and improving cache behaviour. -
memory— Assigns device memory slots to logical buffers using live-interval graph colouring, maximising buffer reuse and minimising peak device memory usage. -
stream— Partitions independent nodes onto separate CUDA streams for concurrent GPU execution, and identifies the cross-stream event synchronisation points needed to enforce dependencies.
Re-exports§
pub use fusion::FusionGroup;pub use fusion::FusionPlan;pub use fusion::analyse as fusion_analyse;pub use memory::MemoryPlan;pub use memory::SlotAssignment;pub use memory::analyse as memory_analyse;pub use stream::StreamPlan;pub use stream::SyncPoint;pub use stream::analyse as stream_analyse;