Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

Update TargetInfo.cpp#35

Draft
cdevadas wants to merge 1 commit into
amd-commonfrom
hip-implicit-kernarg
Draft

Update TargetInfo.cpp#35
cdevadas wants to merge 1 commit into
amd-commonfrom
hip-implicit-kernarg

Conversation

@cdevadas

Copy link
Copy Markdown

Enabling implicit kernel argument support for HIP.

Enabling implicit kernel argument support for HIP.
@cdevadas

Copy link
Copy Markdown
Author

Enabled the implicit kernel argument area for HIP as well. With this attribute enabled from clang, compiler backend adds the implicit arguments (48-Bytes) at the end of the actual user argument area. Since the implicit kernargs are inserted at the tail of the actual arguments, there is no change in the offset generated for the user parameters. Hence there won't be any break in the existing HIP tests with this commit. For the consumers of the implicit kernarg area, HIP runtime library should be modified to accommodate the implicit kernargs at runtime.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant