gpu-enable functions

This commit is contained in:
Eric Niebler
2014-01-09 17:58:06 -08:00
committed by Eric Niebler
parent 867c7e5dfb
commit c4f9f0d1b6
840 changed files with 7409 additions and 116 deletions

View File

@ -40,10 +40,12 @@ namespace boost { namespace fusion
}
template <class Function, class Sequence>
BOOST_FUSION_GPU_ENABLED
inline typename result_of::invoke_function_object<Function, Sequence>::type
invoke_function_object(Function, Sequence &);
template <class Function, class Sequence>
BOOST_FUSION_GPU_ENABLED
inline typename result_of::invoke_function_object<Function, Sequence const
>::type invoke_function_object(Function, Sequence const &);
@ -79,6 +81,7 @@ namespace boost { namespace fusion
}
template <class Function, class Sequence>
BOOST_FUSION_GPU_ENABLED
inline typename result_of::invoke_function_object<Function,Sequence>::type
invoke_function_object(Function f, Sequence & s)
{
@ -88,6 +91,7 @@ namespace boost { namespace fusion
}
template <class Function, class Sequence>
BOOST_FUSION_GPU_ENABLED
inline typename result_of::invoke_function_object<Function,Sequence const>::type
invoke_function_object(Function f, Sequence const & s)
{
@ -121,6 +125,7 @@ namespace boost { namespace fusion
#if N > 0
template <class F>
BOOST_FUSION_GPU_ENABLED
static inline result_type
call(F & f, Sequence & s)
{
@ -132,6 +137,7 @@ namespace boost { namespace fusion
#else
template <class F>
BOOST_FUSION_GPU_ENABLED
static inline result_type
call(F & f, Sequence & /*s*/)
{
@ -155,6 +161,7 @@ namespace boost { namespace fusion
#if N > 0
template <class F>
BOOST_FUSION_GPU_ENABLED
static inline result_type
call(F & f, Sequence & s)
{
@ -170,6 +177,7 @@ namespace boost { namespace fusion
#else
template <class F>
BOOST_FUSION_GPU_ENABLED
static inline result_type
call(F & f, Sequence & /*s*/)
{