[all-commits] [llvm/llvm-project] 61709b: [OpenMP] Ensure wrapper headers are included on bo...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Aug 8 17:08:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 61709bbae37af4e01cf93c6d112ba984bbd9a7ea
https://github.com/llvm/llvm-project/commit/61709bbae37af4e01cf93c6d112ba984bbd9a7ea
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-08-08 (Tue, 08 Aug 2023)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/gpu-libc-headers.c
Log Message:
-----------
[OpenMP] Ensure wrapper headers are included on both host and device
For the in-progress GPU `libc` project we are relying on overlay headers to
handle the interfacing between the `libc` project and the host `libc`.
We need this to be included on both the host and device so they agree
one what is present on the device, otherwise we will end up with random
errors. For whatever reason this was not being included on the host
although it previously worked. This patch ensures that it's included on
both.
Reviewed By: yaxunl
Differential Revision: https://reviews.llvm.org/D157438
More information about the All-commits
mailing list