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 2340b33 commit c0e36bdCopy full SHA for c0e36bd
sycl/include/CL/sycl/detail/pi.hpp
@@ -424,6 +424,8 @@ template <class To, class From> inline To cast(From value) {
424
}
425
426
template <class To, class From> inline To cast(std::vector<From> value) {
427
+ // Silence the unused parameter warning.
428
+ (void)value;
429
RT::assertion(false,
430
"Compatibility specialization, not expected to be used. "
431
"The only allowed cast using a vector of From values is "
0 commit comments