Skip to content

[hipblaslt] Add custom argument semantic for padding - #5322

Merged
jinchen62 merged 2 commits into
ROCm:GemmFromAnywherefrom
jinchen62:arg_pad
Mar 18, 2026
Merged

jinchen62 merged 2 commits into
ROCm:GemmFromAnywherefrom
jinchen62:arg_pad

Conversation

@jinchen62

@jinchen62 jinchen62 commented Mar 10, 2026 •

Copy link
Copy Markdown
Contributor
  • Add padding argument semantic
    e.g. { type: uint32, semantic: Padding}
  • Add padding param to the arg
    e.g. { type: address, semantic: AddressD, padding: 8 }

AIGECORE-1985

@AlexBrownAMD AlexBrownAMD 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 was wondering if the arg definition might be a bit clearer to read if we had an alignment field in the argument, like this:

{ type: address, semantic: AddressD, alignment: 16 }

The kernel arguments structure also has an appendAligned function we could use. We can discuss in the next sync.

@AlexBrownAMD AlexBrownAMD 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.

Thanks for the update!

@jinchen62
jinchen62 merged commit 2388101 into ROCm:GemmFromAnywhere Mar 18, 2026
10 of 13 checks passed
@jinchen62
jinchen62 deleted the arg_pad branch March 18, 2026 20:39
jinchen62 added a commit that referenced this pull request Mar 25, 2026
- Add padding argument semantic
  e.g. { type: uint32, semantic: Padding}
- Add padding param to the arg
  e.g. { type: address, semantic: AddressD, padding: 8 }
  
AIGECORE-1985
jinchen62 added a commit that referenced this pull request Apr 1, 2026
- Add padding argument semantic
  e.g. { type: uint32, semantic: Padding}
- Add padding param to the arg
  e.g. { type: address, semantic: AddressD, padding: 8 }
  
AIGECORE-1985
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants