mpsgraph 0.2.0

Modern Rust bindings for Apple's Metal Performance Shaders Graph framework
Documentation
1
2
3
4
5
6
7
8
9
/// Represents the optimization profile for graph compilation
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
#[repr(u64)]
pub enum OptimizationProfile {
    /// Profile optimized for performance
    Performance = 0,
    /// Profile optimized for power efficiency
    PowerEfficiency = 1,
}