[all-commits] [llvm/llvm-project] 970e74: [Libomptarget] Add a test for the `libc` implement...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Oct 19 05:55:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 970e7456e0346f078962fa88bdc1b86fd9828d6f
      https://github.com/llvm/llvm-project/commit/970e7456e0346f078962fa88bdc1b86fd9828d6f
  Author: Joseph Huber <35342157+jhuber6 at users.noreply.github.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

  Changed paths:
    A openmp/libomptarget/test/libc/assert.c

  Log Message:
  -----------
  [Libomptarget] Add a test for the `libc` implementation of assert (#69518)

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.




More information about the All-commits mailing list