Skip to content

[OpenMP] Fix two usm tests for amdgpus. #78824

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

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

carlobertolli
Copy link
Member

Some are missing setting of HSA_XNACK=1 environment variable, used to enable unified memory support on amdgpu's when it's not been set at kernel boot time. Some others needed to be marked as supporting unified_shared_memory in the lit test harness.

Extend lit test harness to enable unified_shared_memory requirement for AMD GPUs.

Reland: #77851

Some are missing setting of HSA_XNACK=1 environment variable,
used to enable unified memory support on amdgpu's when it's not been set at kernel boot time.
Some others needed to be marked as supporting unified_shared_memory in the lit test harness.

Extend lit test harness to enable unified_shared_memory requirement for AMD GPUs.

Reland: llvm#77851
@carlobertolli
Copy link
Member Author

Tested locally on gfx908 (fails with api.c), gfx90a, gfx942.

Copy link
Contributor

@saiislam saiislam left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM!

@carlobertolli carlobertolli merged commit 3440466 into llvm:main Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openmp:libomptarget OpenMP offload runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants