-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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] Different fail modes for memory_manager.cpp OpenMP test #65077
Comments
@llvm/issue-subscribers-openmp |
This doesn't look like a openmp issue. A AMDGPU backend related issue instead. |
@llvm/issue-subscribers-backend-amdgpu |
It may be an OpenMP issue for O1 and default optimization level. |
It might be. It seems like 3 different problems. Let's fix them one by one. The crash in the backend is the easiest. |
Update: adding device(0) clauses fixes the intermittent fails for -O1. |
I investigated the memory_manager.cpp test in OpenMP and it looks like, on AMD GPUs, it fails in different ways for different optimization levels.
For -O2 and -O3 the test passes consistently.
For -O1 or no optimization level specified it fails occasionally with a GPU memory error.
For -O0 it doesn't even compile, the trace is below:
The text was updated successfully, but these errors were encountered: