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 13a5baf commit 3cb2e1eCopy full SHA for 3cb2e1e
sycl/include/sycl/accessor.hpp
@@ -1358,7 +1358,9 @@ class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
1358
typename... PropTypes,
1359
typename std::enable_if_t<
1360
detail::IsCxPropertyList<PropertyListT>::value &&
1361
- std::is_same_v<T, DataT> && Dims == 0 &&
+ // VS2019 can't compile sycl/test/regression/bit_cast_win.cpp
1362
+ // if std::is_same_v is used here.
1363
+ std::is_same<T, DataT>::value && Dims == 0 &&
1364
(IsHostBuf || IsHostTask || (IsGlobalBuf || IsConstantBuf))> * =
1365
nullptr>
1366
accessor(
0 commit comments