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 7a8c8c7 commit 92a006cCopy full SHA for 92a006c
sycl/include/sycl/detail/kernel_launch_helper.hpp
@@ -283,8 +283,12 @@ struct MarshalledProperty<
283
284
// Generic implementation for properties with non-template value_t.
285
template <typename PropertyTy>
286
-struct MarshalledProperty<PropertyTy,
287
- std::void_t<typename PropertyTy::value_t>> {
+struct MarshalledProperty<
+ PropertyTy,
288
+ // `std::void_t<typename PropertyTy::value_t>` should be enough, but MSVC
289
+ // had a bug: https://godbolt.org/z/TTjsM1cWE
290
+ std::enable_if_t<std::is_same_v<typename PropertyTy::value_t,
291
+ typename PropertyTy::value_t>>> {
292
bool MPresent = false;
293
294
template <typename InputPropertyTy>
0 commit comments