Skip to content

Explain SASS diffs in AGENTS.md - #7733

Merged
bernhardmgruber merged 1 commit into
NVIDIA:mainfrom
bernhardmgruber:sass_diff_agents
Feb 25, 2026
Merged

bernhardmgruber merged 1 commit into
NVIDIA:mainfrom
bernhardmgruber:sass_diff_agents

Conversation

@bernhardmgruber

Copy link
Copy Markdown
Contributor

I used this a few times now to successfully ask Cursor to find the cause of SASS differences and fix them. I have no idea what good practices are for how to describe such stuff in AGENTS.md, so please let me know if this can be improved in any way.

@github-project-automation github-project-automation Bot moved this to Todo in CCCL Feb 22, 2026
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Review in CCCL Feb 22, 2026
@bernhardmgruber bernhardmgruber changed the title Explain SASS diffs in AGENTS.md Explain SASS diffs in AGENTS.md Feb 22, 2026
@bernhardmgruber
bernhardmgruber merged commit 2802e71 into NVIDIA:main Feb 25, 2026
20 of 21 checks passed
@github-project-automation github-project-automation Bot moved this from In Review to Done in CCCL Feb 25, 2026
@bernhardmgruber
bernhardmgruber deleted the sass_diff_agents branch February 25, 2026 12:33
@sleeepyjack

sleeepyjack commented Feb 27, 2026 •

Copy link
Copy Markdown
Contributor

Sorry, I'm late to the party. I feel like this is something that should be exposed as a separate skill in SKILLS.md like so:

Skill: CUDA Codegen SASS Verification

Description:
Compare SASS output before/after CUDA changes to validate performance stability.

Inputs:
- Baseline CUDA source
- Modified CUDA source
- Target architecture

Process:
1. Compile with nvcc -arch=...
2. Extract SASS via cuobjdump
3. Normalize output
4. Diff instruction classes
5. Report deltas
6. Flag register or occupancy regressions

Constraints:
- Must use same compiler flags

This way is slightly more structured as you can instruct an agent to specifically use that skill rather than letting it memoize the instructions from the AGENTS.md file when you instruct it to do a SASS comparison.

@fbusato

fbusato commented Feb 27, 2026

Copy link
Copy Markdown
Contributor

@sleeepyjack I raised the same issue. This is something that should definitely belong to a SKILL.md

@bernhardmgruber

Copy link
Copy Markdown
Contributor Author

@sleeepyjack thanks for sketching how this can be done. I opened an issue for this: #7829

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants