Skip to content

Annotate every AMD customization in llvm-spirv#138

Open
MrSidims wants to merge 2 commits into
amd-stagingfrom
dev/mrsidims/amd-annotations
Open

Annotate every AMD customization in llvm-spirv#138
MrSidims wants to merge 2 commits into
amd-stagingfrom
dev/mrsidims/amd-annotations

Conversation

@MrSidims

@MrSidims MrSidims commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Generated by Claude Code.

(please don't review/merge yet as I haven't yet checked the annotations)

@MrSidims MrSidims requested review from AlexVlx and removed request for AlexVlx March 30, 2026 18:52
@z1-cciauto

Copy link
Copy Markdown
Contributor

@MrSidims MrSidims left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks legit

Comment thread README.md Outdated
@z1-cciauto

Copy link
Copy Markdown
Contributor

@ronlieb

ronlieb commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

!PSDB

@z1-cciauto

Copy link
Copy Markdown
Contributor

@maarquitos14 maarquitos14 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this. Thanks for doing it!

Comment thread README.md
Comment on lines +22 to +23
All AMD-specific code is marked with `// AMD customization begin:` and
`// AMD customization end` comments in the source files.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
All AMD-specific code is marked with `// AMD customization begin:` and
`// AMD customization end` comments in the source files.
All AMD-specific code is marked with `// AMD customization begin:` and
`// AMD customization end` comments in the source files. Other appropriate comment markers should be used in different file types.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or something along these lines.

@jmmartinez jmmartinez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, I hate this (cause I'll always forget to add this, as I forget to add . at the end of every comment in the code).

In an ideal world, I'd love to have a cmake flag to enable AMD customizations and have test that cover vanilla vs AMD flavor. But this is a first step to something cleaner.

@lamb-j

lamb-j commented Apr 20, 2026

Copy link
Copy Markdown
Collaborator

We still want to land this?

@MrSidims

Copy link
Copy Markdown
Contributor Author

We still want to land this?

I believe - yes. I'll rebase, guard newly added code and re-run tests etc

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants