When device offloading is enabled and the device is an NVIDIA GPU, OpenMP target regions must be compiled with relocation enabled by passing the "-c" flag to the PTXAS invocation.
Details
Details
- Reviewers
arpith-jacob caomhin carlo.bertolli ABataev Hahnfeld jlebar hfinkel tstellar - Commits
- rGceb422236a92: [OpenMP] Make OpenMP generated code for the NVIDIA device relocatable by default
rC310300: [OpenMP] Make OpenMP generated code for the NVIDIA device relocatable by default
rL310300: [OpenMP] Make OpenMP generated code for the NVIDIA device relocatable by default
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/Driver/openmp-offload.c | ||
---|---|---|
598 | This path might not be correct on all systems. Do we really need this check? |
CHK-PTXAS-DEFAULT