The GPU Memory Analysis skill provides expert-level diagnostics and optimization strategies for performance-critical GPU applications. It identifies bottlenecks such as non-coalesced memory access, shared memory bank conflicts, and inefficient L1/L2 cache usage. By leveraging specialized profiling tools like Nsight Compute and compute-sanitizer, it generates optimized CUDA code patterns and provides actionable recommendations to saturate memory bandwidth. This skill is essential for developers working on high-performance computing, deep learning kernels, and complex simulations where memory latency is the primary performance constraint.
主要功能
01Analyzes global memory access to ensure optimal coalescing and transaction efficiency.
02Generates high-performance memory access patterns, including Structure of Arrays (SoA) conversions.
03Detects and resolves shared memory bank conflicts through padding and access reordering.
04Optimizes L1/L2 cache partitioning and leverages texture/constant memory for specialized workloads.
05Integrates with Nsight Compute metrics for detailed bandwidth and throughput profiling.
061,203 GitHub stars
使用场景
01Migrating legacy Array of Structures (AoS) data layouts to GPU-optimized Structure of Arrays (SoA).
02Refactoring CUDA kernels to achieve peak memory throughput in deep learning or scientific simulations.
03Identifying and fixing performance regressions caused by unaligned or strided memory access.