Skip to content

Update TargetInfo.cpp #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: amd-common
Choose a base branch
from
Draft

Update TargetInfo.cpp #35

wants to merge 1 commit into from

Conversation

cdevadas
Copy link

Enabling implicit kernel argument support for HIP.

Enabling implicit kernel argument support for HIP.
@cdevadas
Copy link
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 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.

1 participant