Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
616 changes: 616 additions & 0 deletions examples/demo_v02_full.py

Large diffs are not rendered by default.

641 changes: 641 additions & 0 deletions rust/pygpukit-core/src/dispatch/cache.rs

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions rust/pygpukit-core/src/dispatch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,25 @@
//! - Per-task stream assignment
//! - Integration with the scheduler tick loop
//! - Kernel execution tracking
//! - Bandwidth-based kernel pacing
//! - Micro-slicing for fairness and latency
//! - Kernel caching for compiled PTX
//!
//! Note: Actual CUDA Driver API calls (cuLaunchKernel) are handled by C++ backend.
//! This module provides the Rust-side coordination logic.

mod controller;
mod pacing;
mod slicing;
mod cache;

pub use controller::{KernelDispatcher, KernelLaunchRequest, KernelState, DispatchStats, LaunchConfig};
pub use pacing::{
KernelPacingEngine, PacingConfig, PacingDecision, PacingStats, StreamPacingStats,
};
pub use slicing::{
SliceScheduler, SliceConfig, SlicedKernel, KernelSlice, SliceInfo, SliceStats,
};
pub use cache::{
KernelCache, CacheConfig, CachedKernel, CompileOptions, CacheStats,
};
Loading