static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
returnevent;
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
returnfunctor_(
enqueueArgs,
arg0,
arg1,
arg2,
arg3,
arg4,
arg5,
arg6,
arg7,
arg8,
arg9,
arg10,
arg11,
arg12,
arg13,
arg14,
arg15,
arg16,
arg17,
arg18,
arg19,
arg20,
arg21,
arg22,
arg23,
arg24,
arg25,
arg26,
arg27,
arg28);
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
#if (defined(_WIN32) && (_VARIADIC_MAX < 27))
// Fail variadic expansion for dev11
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
typedef__CL_FUNCTION_TYPE<Event(
EnqueueArgs&,
T0,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15,
T16,
T17,
T18,
T19,
T20,
T21,
T22,
T23,
T24,
T25,
T26)>type_;
Eventoperator()(
EnqueueArgs&enqueueArgs,
T0arg0,
T1arg1,
T2arg2,
T3arg3,
T4arg4,
T5arg5,
T6arg6,
T7arg7,
T8arg8,
T9arg9,
T10arg10,
T11arg11,
T12arg12,
T13arg13,
T14arg14,
T15arg15,
T16arg16,
T17arg17,
T18arg18,
T19arg19,
T20arg20,
T21arg21,
T22arg22,
T23arg23,
T24arg24,
T25arg25,
T26arg26)
{
returnfunctor_(
enqueueArgs,
arg0,
arg1,
arg2,
arg3,
arg4,
arg5,
arg6,
arg7,
arg8,
arg9,
arg10,
arg11,
arg12,
arg13,
arg14,
arg15,
arg16,
arg17,
arg18,
arg19,
arg20,
arg21,
arg22,
arg23,
arg24,
arg25,
arg26);
}
Eventoperator()(
EnqueueArgs&enqueueArgs,
constEvent&event,
T0arg0,
T1arg1,
T2arg2,
T3arg3,
T4arg4,
T5arg5,
T6arg6,
T7arg7,
T8arg8,
T9arg9,
T10arg10,
T11arg11,
T12arg12,
T13arg13,
T14arg14,
T15arg15,
T16arg16,
T17arg17,
T18arg18,
T19arg19,
T20arg20,
T21arg21,
T22arg22,
T23arg23,
T24arg24,
T25arg25,
T26arg26)
{
returnfunctor_(
enqueueArgs,
arg0,
arg1,
arg2,
arg3,
arg4,
arg5,
arg6,
arg7,
arg8,
arg9,
arg10,
arg11,
arg12,
arg13,
arg14,
arg15,
arg16,
arg17,
arg18,
arg19,
arg20,
arg21,
arg22,
arg23,
arg24,
arg25,
arg26);
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
returnfunctor_(
enqueueArgs,
arg0,
arg1,
arg2,
arg3,
arg4,
arg5,
arg6,
arg7,
arg8,
arg9,
arg10,
arg11,
arg12,
arg13,
arg14,
arg15,
arg16,
arg17,
arg18,
arg19,
arg20,
arg21,
arg22,
arg23,
arg24,
arg25);
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
#if (defined(_WIN32) && (_VARIADIC_MAX < 16))
// Fail variadic expansion for dev11
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
typedef__CL_FUNCTION_TYPE<Event(
EnqueueArgs&,
T0,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12,
T13,
T14,
T15)>type_;
Eventoperator()(
EnqueueArgs&enqueueArgs,
T0arg0,
T1arg1,
T2arg2,
T3arg3,
T4arg4,
T5arg5,
T6arg6,
T7arg7,
T8arg8,
T9arg9,
T10arg10,
T11arg11,
T12arg12,
T13arg13,
T14arg14,
T15arg15)
{
returnfunctor_(
enqueueArgs,
arg0,
arg1,
arg2,
arg3,
arg4,
arg5,
arg6,
arg7,
arg8,
arg9,
arg10,
arg11,
arg12,
arg13,
arg14,
arg15);
}
Eventoperator()(
EnqueueArgs&enqueueArgs,
constEvent&event,
T0arg0,
T1arg1,
T2arg2,
T3arg3,
T4arg4,
T5arg5,
T6arg6,
T7arg7,
T8arg8,
T9arg9,
T10arg10,
T11arg11,
T12arg12,
T13arg13,
T14arg14,
T15arg15)
{
returnfunctor_(
enqueueArgs,
arg0,
arg1,
arg2,
arg3,
arg4,
arg5,
arg6,
arg7,
arg8,
arg9,
arg10,
arg11,
arg12,
arg13,
arg14,
arg15);
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
#if (defined(_WIN32) && (_VARIADIC_MAX < 13))
// Fail variadic expansion for dev11
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
typedef__CL_FUNCTION_TYPE<Event(
EnqueueArgs&,
T0,
T1,
T2,
T3,
T4,
T5,
T6,
T7,
T8,
T9,
T10,
T11,
T12)>type_;
Eventoperator()(
EnqueueArgs&enqueueArgs,
T0arg0,
T1arg1,
T2arg2,
T3arg3,
T4arg4,
T5arg5,
T6arg6,
T7arg7,
T8arg8,
T9arg9,
T10arg10,
T11arg11,
T12arg12)
{
returnfunctor_(
enqueueArgs,
arg0,
arg1,
arg2,
arg3,
arg4,
arg5,
arg6,
arg7,
arg8,
arg9,
arg10,
arg11,
arg12);
}
Eventoperator()(
EnqueueArgs&enqueueArgs,
constEvent&event,
T0arg0,
T1arg1,
T2arg2,
T3arg3,
T4arg4,
T5arg5,
T6arg6,
T7arg7,
T8arg8,
T9arg9,
T10arg10,
T11arg11,
T12arg12)
{
returnfunctor_(
enqueueArgs,
arg0,
arg1,
arg2,
arg3,
arg4,
arg5,
arg6,
arg7,
arg8,
arg9,
arg10,
arg11,
arg12);
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.
static_assert(0,"Visual Studio has a hard limit of argument count for a std::function expansion. Please define _VARIADIC_MAX to be 10. If you need more arguments than that VC12 and below cannot support it.");
#endif
}
//! \brief Return type of the functor
typedefEventresult_type;
//! \brief Function signature of kernel functor with no event dependency.