update boost on linux
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
|
||||
#include <iterator>
|
||||
|
||||
#include <boost/static_assert.hpp>
|
||||
|
||||
#include <boost/compute/algorithm/detail/balanced_path.hpp>
|
||||
#include <boost/compute/algorithm/detail/compact.hpp>
|
||||
#include <boost/compute/algorithm/exclusive_scan.hpp>
|
||||
@@ -21,6 +23,7 @@
|
||||
#include <boost/compute/detail/iterator_range_size.hpp>
|
||||
#include <boost/compute/detail/meta_kernel.hpp>
|
||||
#include <boost/compute/system.hpp>
|
||||
#include <boost/compute/type_traits/is_device_iterator.hpp>
|
||||
|
||||
namespace boost {
|
||||
namespace compute {
|
||||
@@ -135,6 +138,8 @@ private:
|
||||
/// will be stored
|
||||
/// \param queue Queue on which to execute
|
||||
///
|
||||
/// Space complexity:
|
||||
/// \Omega(2(distance(\p first1, \p last1) + distance(\p first2, \p last2)))
|
||||
template<class InputIterator1, class InputIterator2, class OutputIterator>
|
||||
inline OutputIterator set_union(InputIterator1 first1,
|
||||
InputIterator1 last1,
|
||||
@@ -143,6 +148,10 @@ inline OutputIterator set_union(InputIterator1 first1,
|
||||
OutputIterator result,
|
||||
command_queue &queue = system::default_queue())
|
||||
{
|
||||
BOOST_STATIC_ASSERT(is_device_iterator<InputIterator1>::value);
|
||||
BOOST_STATIC_ASSERT(is_device_iterator<InputIterator2>::value);
|
||||
BOOST_STATIC_ASSERT(is_device_iterator<OutputIterator>::value);
|
||||
|
||||
typedef typename std::iterator_traits<InputIterator1>::value_type value_type;
|
||||
|
||||
int tile_size = 1024;
|
||||
|
||||
Reference in New Issue
Block a user