You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If it is needed to pass the same option from driver to both host and device compilers, then it must be added two-times - see clang/lib/Driver/ToolChains/Clang.cpp, for example:
4124:CmdArgs.push_back("-fsycl");
...
6150:CmdArgs.push_back("-fsycl");
This is quite error prone and inconvenient - should be automated: option placed in one place, driver does the duplication itself.
The text was updated successfully, but these errors were encountered:
If it is needed to pass the same option from driver to both host and device compilers, then it must be added two-times - see
clang/lib/Driver/ToolChains/Clang.cpp
, for example:4124:
CmdArgs.push_back("-fsycl");
...
6150:
CmdArgs.push_back("-fsycl");
This is quite error prone and inconvenient - should be automated: option placed in one place, driver does the duplication itself.
The text was updated successfully, but these errors were encountered: