We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7842d05 commit ec179b7Copy full SHA for ec179b7
sycl/include/sycl/handler.hpp
@@ -731,7 +731,11 @@ class __SYCL_EXPORT handler {
731
"unexpected layout. This is a limitation of the compiler."
732
"In many cases the difference is related to capturing constexpr "
733
"variables. In such cases removing constexpr specifier aligns the "
734
- "captures between the host compiler and the device compiler.");
+ "captures between the host compiler and the device compiler."
735
+ "\n"
736
+ "In case of MSVC, passing "
737
+ "-fsycl-host-compiler-options='/std:c++latest' "
738
+ "might also help.");
739
740
// Empty name indicates that the compilation happens without integration
741
// header, so don't perform things that require it.
0 commit comments