Skip to main content

Module occupancy

Module occupancy 

Source
Expand description

GPU occupancy calculator and optimization.

This module provides tools for estimating GPU occupancy based on workgroup size, register usage, and shared memory consumption. Higher occupancy generally means better latency hiding.

Structs§

GpuSpec
Typical GPU multiprocessor specification.
KernelResources
Kernel resource requirements.
OccupancyCalculator
GPU occupancy calculator.
OccupancyResult
Result of occupancy calculation.
PerformanceTip
Performance tip based on occupancy analysis.

Enums§

OccupancyLimit
The factor that limits GPU occupancy.

Functions§

analyze_performance
Generate performance tips based on occupancy results.