Displaying 2 results from an estimated 2 matches for "mtarget".
Did you mean:
target
2017 Feb 07
0
Clang option to provide list of target-subarchs.
...t lost and separated in long option lists, it could be frustrating. Using a list, improves readability of scripts. As we said, existing flags would still be supported.
> what problem are we solving by putting "target" in the flag name? We already have e.g. -march; it's not -mtarget-arch. "--offload-arch", maybe?
There are no problems solved with the word "target". The genesis for me of this name is the association with OpenMP target pragmas used for offloading. target is a noun and offload is a verb. We desire a list of objects that end in s . I a...
2017 Feb 07
2
Clang option to provide list of target-subarchs.
There are at least four clang frontends for offloading to accelerators:
1 Cuda clang 2 OpenMP 3 HCC and 4 OpenCL. These frontends will
want to embed object code for multiple offload targets into a single
application binary to provide portability across different subarchitectures
(e.g. sm_35, sm_50) and across different architectures (e.g nvptx64,amdgcn).
Problem: Different frontends