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

[Libomptarget] Add a test for the libc implementation of assert #69518

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

jhuber6
Copy link
Contributor

@jhuber6 jhuber6 commented Oct 18, 2023

Summary:
The libcgpu.a file provides its own implementation of __assert_fail.
This adds a test to make sure it's usable in OpenMP offloading as
expected. Currently this requires linking libcgpu.a before the OpenMP
device RTL however. We also disable the test on the CPU as the format of
the string will be different.

Summary:
The `libcgpu.a` file provides its own implementation of `__assert_fail`.
This adds a test to make sure it's usable in OpenMP offloading as
expected. Currently this requires linking `libcgpu.a` before the OpenMP
device RTL however. We also disable the test on the CPU as the format of
the string will be different.
@llvmbot llvmbot added the openmp:libomptarget OpenMP offload runtime label Oct 18, 2023
Copy link
Contributor

@jplehr jplehr left a comment

Choose a reason for hiding this comment

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

LGTM

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