final gpu-enabling tweaks

This commit is contained in:
Eric Niebler committed 2014-01-28 14:32:03 -08:00
1 parent c04e912866
commit e113b31fdd
13 files changed
+18 -35

No files matched your search

@@ -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));