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 609a7bb commit b64e150Copy full SHA for b64e150
sycl/include/sycl/queue.hpp
@@ -56,11 +56,8 @@
56
// these macros are #undef immediately.
57
// replace _KERNELFUNCPARAM(KernelFunc) with KernelType KernelFunc
58
// or const KernelType &KernelFunc
59
-#ifdef __SYCL_NONCONST_FUNCTOR__
60
-#define _KERNELFUNCPARAM(a) KernelType a
61
-#else
+
62
#define _KERNELFUNCPARAM(a) const KernelType &a
63
-#endif
64
65
namespace sycl {
66
inline namespace _V1 {
0 commit comments