diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-08-02 13:31:01 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-08-02 14:34:51 -0500 |
commit | bc080221b3a2c73739caa2bf0521dd3984d0a934 (patch) | |
tree | 0b411e24aa354434e74a851ca20439e87ef26b4a /llvm/lib/CodeGen/MachineSink.cpp | |
parent | 00653889883f2d818536efcb21c6c8b739f0888b (diff) | |
download | llvm-bc080221b3a2c73739caa2bf0521dd3984d0a934.zip llvm-bc080221b3a2c73739caa2bf0521dd3984d0a934.tar.gz llvm-bc080221b3a2c73739caa2bf0521dd3984d0a934.tar.bz2 |
[Clang] Fix Offloading related tests after D156363
This patch fixes failing tests after checking the return code from the
driver. This is mostly due to the ROCm libraries not being present
during most compilations. Passing `-nogpuinc` should allow us to compile
without it for tests that require it. Additionally, some old tests set
the architecture of Nvidia tests to `sm_35` which is officially
unsupported in CUDA 12+ so it prints an error. We just increase in this
case.
Reviewed By: MaskRay, yaxunl
Differential Revision: https://reviews.llvm.org/D156930
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions