This patch applies the same handling for the `--offload-arch=native'
string to the new driver. The support for OpenMP will require some extra
logic to infer the triples from the derived architecture strings.
Depends on D141051
Paths
| Differential D141078
[CUDA][HIP] Support '--offload-arch=native' for the new driver ClosedPublic Authored by jhuber6 on Jan 5 2023, 10:45 AM.
Details Summary This patch applies the same handling for the `--offload-arch=native' Depends on D141051
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 5 2023, 10:57 AM
jhuber6 added a child revision: D141105: [OpenMP] Add support for '--offload-arch=native' to OpenMP offloading.Jan 5 2023, 7:49 PM Closed by commit rGfada90286008: [CUDA][HIP] Support '--offload-arch=native' for the new driver (authored by jhuber6). · Explain WhyJan 11 2023, 8:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 488237 clang/lib/Driver/Driver.cpp
clang/test/Driver/amdgpu-hip-system-arch.c
clang/test/Driver/nvptx-cuda-system-arch.c
clang/test/Driver/openmp-offload-infer.c
|
should explicitly handle the different triple cases, rather than assume ! NVPTX is AMDGPU