Skip to content

Commit b64e150

Browse files
committed
[SYCL] remove unused macros from queue header
1 parent 609a7bb commit b64e150

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sycl/include/sycl/queue.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,8 @@
5656
// these macros are #undef immediately.
5757
// replace _KERNELFUNCPARAM(KernelFunc) with KernelType KernelFunc
5858
// or const KernelType &KernelFunc
59-
#ifdef __SYCL_NONCONST_FUNCTOR__
60-
#define _KERNELFUNCPARAM(a) KernelType a
61-
#else
59+
6260
#define _KERNELFUNCPARAM(a) const KernelType &a
63-
#endif
6461

6562
namespace sycl {
6663
inline namespace _V1 {

0 commit comments

Comments
 (0)