lds-bank-conflict

Measure LDS bank conflicts in AMD GPU kernels using rocprofv3 hardware counters.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/leonling-ll/claude-skills --skill lds-bank-conflict
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lds-bank-conflict
Source: https://github.com/leonling-ll/claude-skills/tree/main/lds-bank-conflict
Command: npx skills add https://github.com/leonling-ll/claude-skills --skill lds-bank-conflict

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Collect and report LDS (Local Data Share) bank conflict counts for AMD GPU kernels using rocprofv3 hardware counters. Reports SQ_LDS_BANK_CONFLICT and SQ_LDS_DATA_FIFO_FULL per dispatch, per CTA, and provides a severity assessment. Use this skill whenever the user asks to measure, check, profile, or count LDS bank conflicts in a GPU kernel, or wants to know if a kernel has shared memory bank conflicts on AMD GPUs (MI300X, MI308X, MI350, CDNA3/CDNA4). Usage: /lds-bank-conflict <run_command> [kernel_regex]

Core Features & Use Cases

  • Collect and report per-dispatch and per-CTA LDS bank conflict counters using rocprofv3.
  • Provide per-kernel severity interpretation to highlight bottlenecks.
  • Works with optional kernel filtering and YAML counter config to streamline profiling.

Quick Start

Run the kernel under rocprofv3 using the lds-bank-conflict workflow and review the generated per-kernel summary table.

Frequently Asked Questions about lds-bank-conflict

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I measure LDS bank conflicts on AMD GPU kernels?

Measure LDS bank conflicts on AMD GPU kernels by running the target kernel under rocprofv3 hardware counters, parsing the output to generate a per-kernel summary that reports SQ_LDS_BANK_CONFLICT and SQ_LDS_DATA_FIFO_FULL metrics.

Can I profile shared memory bank conflicts on MI300X and CDNA4 GPUs?

Yes, you can profile shared memory bank conflicts on MI300X, MI308X, and MI350 GPUs using rocprofv3 hardware counters, as this profiling workflow supports CDNA3 and CDNA4 architectures for per-dispatch and per-CTA analysis.

What is the best way to check LDS bank conflict severity per kernel dispatch?

The best way to check LDS bank conflict severity per kernel dispatch is to execute rocprofv3 with a YAML counter configuration, which provides an automatic severity interpretation to highlight memory access bottlenecks in the generated summary.

How do I filter LDS bank conflict profiling results for specific kernels?

Filter LDS bank conflict profiling results for specific kernels by supplying an optional kernel regex pattern when executing the profiling command, restricting the per-kernel summary and severity assessment to matching kernel dispatches.

Do I need a configuration file to count LDS bank conflicts with rocprofv3?

Yes, you need a lds_bank_conf_counter.yaml file to define the hardware counters before executing rocprofv3, ensuring the profiler correctly captures the SQ_LDS_BANK_CONFLICT and SQ_LDS_DATA_FIFO_FULL metrics for analysis.