Skip to content

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.

Copy link
Contributor

@doru1004 doru1004 left a comment

Choose a reason for hiding this comment

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

LGTM

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.
@carlobertolli carlobertolli merged commit 3add949 into llvm:main Jan 12, 2024
@jplehr
Copy link
Contributor

jplehr commented Jan 12, 2024

This appears to have broken the AMDGPU bot: https://lab.llvm.org/buildbot/#/builders/193/builds/45086
edit: seems to have worked fine on gfx90a bot. https://lab.llvm.org/staging/#/builders/140/builds/335

That bot runs a gfx908, so it should be OK to run these tests. I wonder if the RUN lines are correct.

carlobertolli added a commit to carlobertolli/llvm-project that referenced this pull request Jan 20, 2024
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 added a commit that referenced this pull request Jan 22, 2024
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
justinfargnoli pushed a commit to justinfargnoli/llvm-project that referenced this pull request Jan 28, 2024
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.
justinfargnoli pushed a commit to justinfargnoli/llvm-project that referenced this pull request Jan 28, 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.

5 participants