forked from OSchip/llvm-project
c165a99a1b
SYCL compilations initiated by the driver will spawn off one or more frontend compilation jobs (one for device and one for host). This patch reworks the driver options to make upstreaming this from the downstream SYCL fork easier. This patch introduces a language option to identify host executions (SYCLIsHost) and a -cc1 frontend option to enable this mode. -fsycl and -fno-sycl become driver-only options that are rejected when passed to -cc1. This is because the frontend and beyond should be looking at whether the user is doing a device or host compilation specifically. Because the frontend should only ever be in one mode or the other, -fsycl-is-device and -fsycl-is-host are mutually exclusive options. |
||
---|---|---|
.. | ||
float128.cpp | ||
int128.cpp | ||
kernel-attribute-on-non-sycl.cpp | ||
kernel-attribute.cpp | ||
prohibit-thread-local.cpp |