diff options
author | Michael Halkenhaeuser <MichaelGerald.Halkenhauser@amd.com> | 2023-03-22 10:45:08 +0100 |
---|---|---|
committer | Michael Halkenhaeuser <MichaelGerald.Halkenhauser@amd.com> | 2023-03-29 11:31:17 +0200 |
commit | 55916de2d37742fe334c0726ccf9e584bdaed09f (patch) | |
tree | b6626e4aaca6e4ecdaaeeecef8a45f6c7381c5b1 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f4b2360cecd4c92e85bccb1443f2ef425fc6a77b (diff) | |
download | llvm-55916de2d37742fe334c0726ccf9e584bdaed09f.zip llvm-55916de2d37742fe334c0726ccf9e584bdaed09f.tar.gz llvm-55916de2d37742fe334c0726ccf9e584bdaed09f.tar.bz2 |
[clang][HIP][OpenMP] Add warning if mixed HIP / OpenMP offloading
Adds a warning, issued by the clang semantic analysis, if HIP and OpenMP target offloading is requested concurrently.
That is, if HIP language mode is active but OpenMP target directives are encountered.
Previously, a user might not have been aware that target directives are ignored in such a case.
Generation of this warning is (lit-)tested via "make check-clang-semaopenmp".
The warning can be ignored via "-Wno-hip-omp-target-directives".
Differential Revision: https://reviews.llvm.org/D145591
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions