Previously we have added the "-c" flag which gets passed to PTXAS by default to generate relocatable OpenMP target code by default. This set of flags exposes control over this behaviour.
Details
Details
- Reviewers
arpith-jacob caomhin carlo.bertolli ABataev Hahnfeld jlebar hfinkel tstellar - Commits
- rG08465828789c: [OpenMP] Add flag for disabling the default generation of relocatable OpenMP…
rC310484: [OpenMP] Add flag for disabling the default generation of relocatable OpenMP…
rL310484: [OpenMP] Add flag for disabling the default generation of relocatable OpenMP…
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Having something with dashes behind other used prefixes (CHK-PTXAS, CHK-PTXAS-C, CHK-PTXAS-C-RELO) might not be optimal and break when other suffixes like -NOT or -SAME are added to lit. Please see inline about my suggestions but feel free to use others...
test/Driver/openmp-offload.c | ||
---|---|---|
606–607 | CHK-PTXAS-DEFAULT (to be changed in D29642) | |
606–607 | CHK-PTXAS-VERBOSE (to be changed in D29644) | |
611 | CHK-PTXAS-NORELO | |
620 | CHK-PTXAS-RELO |
lib/Driver/ToolChains/Cuda.cpp | ||
---|---|---|
300 |
Args.hasFlag(options::OPT_fopenmp_relocatable_target, options::OPT_fnoopenmp_relocatable_target, true) ? |
?