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
[Driver][SYCL] Fix -fsycl-targets validatoin when using -Xsycl-target-frontend (#6025)
We were improperly requiring at least one -fsycl-targets when using
-Xsycl-target-*. We should allow no -fsycl-targets is specified when
using -Xsycl-target-frontend.
Signed-off-by: Qichao Gu <qichao.gu@intel.com>
// CHK-FSYCL-TARGET-2X-ERROR-NOT: clang{{.*}} error: cannot deduce implicit triple value for '-Xsycl-target{{.*}}', specify triple using '-Xsycl-target{{.*}}=<triple>'
673
673
674
+
/// Check -Xsycl-target-frontend does not trigger an error when no -fsycl-targets is specified
// CHK-NO-FSYCL-TARGET-ERROR-NOT: clang{{.*}} error: cannot deduce implicit triple value for '-Xsycl-target-frontend', specify triple using '-Xsycl-target-frontend=<triple>'
0 commit comments