gpu-enable functions

This commit is contained in:
Eric Niebler authored and Eric Niebler committed 2014-01-22 23:55:53 -08:00
1 parent 867c7e5dfb
commit c4f9f0d1b6
840 files changed
+7409 -116

No files matched your search

@@ -7,6 +7,7 @@
#if !defined(FUSION_COUNT_09162005_0158)
#define FUSION_COUNT_09162005_0158
#include <boost/fusion/support/config.hpp>
#include <boost/config.hpp>
#include <boost/mpl/or.hpp>
#include <boost/type_traits/is_convertible.hpp>
@@ -27,6 +28,7 @@ namespace boost { namespace fusion { namespace detail
struct compare_convertible<true>
{
template <typename T1, typename T2>
BOOST_FUSION_GPU_ENABLED
static bool
call(T1 const& x, T2 const& y)
{
@@ -39,6 +41,7 @@ namespace boost { namespace fusion { namespace detail
struct compare_convertible<false>
{
template <typename T1, typename T2>
BOOST_FUSION_GPU_ENABLED
static bool
call(T1 const&, T2 const&)
{
@@ -50,10 +53,12 @@ namespace boost { namespace fusion { namespace detail
struct count_compare
{
typedef typename detail::call_param<T1>::type param;
BOOST_FUSION_GPU_ENABLED
count_compare(param in_x)
: x(in_x) {}
template <typename T2>
BOOST_FUSION_GPU_ENABLED
bool
operator()(T2 const& y)
{