From 56ca5f2331e661f710a47ee5b9c00a7b6a95ae8f Mon Sep 17 00:00:00 2001 From: Denis Demidov Date: Sun, 5 Apr 2015 15:27:34 +0300 Subject: [PATCH] Add opencl vector types to the list of fundamental types refs #449 --- include/boost/compute/type_traits/is_fundamental.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/boost/compute/type_traits/is_fundamental.hpp b/include/boost/compute/type_traits/is_fundamental.hpp index daa19773..fc8f266c 100644 --- a/include/boost/compute/type_traits/is_fundamental.hpp +++ b/include/boost/compute/type_traits/is_fundamental.hpp @@ -33,7 +33,11 @@ struct is_fundamental : public boost::false_type {}; template<> struct is_fundamental : boost::true_type {}; \ template<> struct is_fundamental : boost::true_type {}; \ template<> struct is_fundamental : boost::true_type {}; \ - template<> struct is_fundamental : boost::true_type {}; + template<> struct is_fundamental : boost::true_type {}; \ + template<> struct is_fundamental : boost::true_type {}; \ + template<> struct is_fundamental : boost::true_type {}; \ + template<> struct is_fundamental : boost::true_type {}; \ + template<> struct is_fundamental : boost::true_type {}; BOOST_COMPUTE_DETAIL_DECLARE_FUNDAMENTAL(char) BOOST_COMPUTE_DETAIL_DECLARE_FUNDAMENTAL(uchar)