Table of Contents

Namespace DotCompute.Backends.Metal.Kernels

Classes

CompilationMetadata

Metadata associated with compiled Metal kernels.

KernelCharacteristics

Kernel characteristics used for threadgroup size optimization.

MetalCompiledKernel

Represents a compiled Metal kernel ready for execution.

MetalKernelCache

Production-grade cache for compiled Metal kernels with LRU eviction and memory pressure handling.

MetalKernelCompiler

Compiles kernels to Metal Shading Language and creates compute pipeline states.

MetalOptimizedKernels

Provides optimized kernel implementations for Metal.

MetalThreadgroupOptimizer

Intelligent threadgroup size optimizer for Metal kernels. Analyzes GPU architecture and kernel characteristics to select optimal threadgroup sizes. Provides 10-15% occupancy improvement through GPU-specific tuning.

OptimizationTelemetry

Telemetry data for optimization operations.

ThreadgroupConfiguration

Configuration result from threadgroup optimization.

ThreadgroupSizeValidation

Result of threadgroup size validation.

Enums

ActivationType

Neural network activation types.

ComputeIntensity

Compute intensity classification for workload characterization.

MetalOptimizationProfile

Optimization profile for Metal kernel compilation.

ReductionOperation

Reduction operation types.