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

Sanity check fails for Clang 16.x when building the nvptx target #3040

Closed
damianam opened this issue Nov 24, 2023 · 2 comments · Fixed by #3059
Closed

Sanity check fails for Clang 16.x when building the nvptx target #3040

damianam opened this issue Nov 24, 2023 · 2 comments · Fixed by #3059

Comments

@damianam
Copy link
Member

Clang 16 does not generate the libomptarget-new-nvptx files when building for the nvptx target, just libomptarget-nvptx:

$ ls *omptarget*nvptx*
libomptarget-nvptx-sm_70.bc

Logically the sanity check fails. I am unsure if this was introduced in 16.x or somewhen before (14.x, 15.x).

Related to/introduced in: #2782

@boegel boegel added this to the next release (4.9.0?) milestone Dec 6, 2023
@boegel boegel changed the title Sanity check fails for clang 16.x when building the nvptx target Sanity check fails for Clang 16.x when building the nvptx target Dec 6, 2023
@boegel
Copy link
Member

boegel commented Dec 27, 2023

Same problem with Clang 15.0.5:

  >> file 'lib/libomptarget.so' found: OK
  >> file 'lib/libomptarget.rtl.x86_64.so' found: OK
  >> file 'lib/libomptarget.rtl.cuda.so' found: OK
  >> file 'lib/libomptarget-nvptx-sm_70.bc' found: OK
  >> file 'lib/libomptarget-new-nvptx-sm_70.bc' found: FAILED

@boegel
Copy link
Member

boegel commented Dec 28, 2023

fixed in #3059

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants