Skip to content
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

[OpenMP] Fix or disable NVPTX tests failing currently #77844

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

jhuber6
Copy link
Contributor

@jhuber6 jhuber6 commented Jan 11, 2024

Summary:
This patch is an attempt to get a clean run of check-openmp running on
an NVPTX machine. I simply took the lists of tests that failed on my
sm_89 machine and disabled them or fixed them. A lot of these tests
are disabled on AMDGPU already, so it makes sense that NVPTX fails. The
others are simply problems with NVPTX optimized debugging which will
need to be fixed. I opened an issue on one of them.

Copy link
Member

@Meinersbur Meinersbur left a comment

Choose a reason for hiding this comment

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

Is #70132 tracking the optimized debugging problem?


// TODO: This requires malloc support for the threads states.
// FIXME: Flaxy on all GPU targets.
Copy link
Member

Choose a reason for hiding this comment

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

[nit] Flaky

@@ -3,7 +3,7 @@
// complaint anymore, especially when the user isn't targeting CUDA.

// RUN: %libomptarget-compile-generic
// RUN: env CUDA_VISIBLE_DEVICES= \
// RUN: env CUDA_VISIBLE_DEVICES="" ROCR_VISIBLE_DEVICES="" \
Copy link
Member

Choose a reason for hiding this comment

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

Added ROCR_VISIBLE_DEVICES is not for NVPTX.

Summary:
This patch is an attempt to get a clean run of `check-openmp` running on
an NVPTX machine. I simply took the lists of tests that failed on my
`sm_89` machine and disabled them or fixed them. A lot of these tests
are disabled on AMDGPU already, so it makes sense that NVPTX fails. The
others are simply problems with NVPTX optimized debugging which will
need to be fixed. I opened an issue on one of them.
@jhuber6
Copy link
Contributor Author

jhuber6 commented Jan 12, 2024

Is #70132 tracking the optimized debugging problem?

It's a known problem, that issue is definitely related. not sure what the best way to handle it here is.

@jhuber6 jhuber6 merged commit ab02372 into llvm:main Jan 12, 2024
4 checks passed
@jhuber6
Copy link
Contributor Author

jhuber6 commented Jan 12, 2024

@Meinersbur what's the link for your bot again?

justinfargnoli pushed a commit to justinfargnoli/llvm-project that referenced this pull request Jan 28, 2024
Summary:
This patch is an attempt to get a clean run of `check-openmp` running on
an NVPTX machine. I simply took the lists of tests that failed on my
`sm_89` machine and disabled them or fixed them. A lot of these tests
are disabled on AMDGPU already, so it makes sense that NVPTX fails. The
others are simply problems with NVPTX optimized debugging which will
need to be fixed. I opened an issue on one of them.
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