final gpu-enabling tweaks

This commit is contained in:
Eric Niebler
2014-01-28 14:32:03 -08:00
parent c04e912866
commit e113b31fdd
13 changed files with 18 additions and 35 deletions

View File

@ -17,6 +17,7 @@ namespace boost { namespace fusion { namespace detail
{
typedef typename result_of::value_of<It>::type type;
BOOST_FUSION_GPU_ENABLED
static inline type call(It const& it)
{
return *it;
@ -30,6 +31,7 @@ namespace boost { namespace fusion { namespace detail
typedef typename result_of::value_of_data<It>::type data_type;
typedef typename fusion::pair<key_type, data_type> type;
BOOST_FUSION_GPU_ENABLED
static inline type call(It const& it)
{
return type(deref_data(it));