Oswin Krause

Results 5 issues of Oswin Krause

Hi, I am currently benchmarking the overhead of boost::compute. My test-program is computing nothing big and the equivalent cpu program finishes in no measurable runtime. The OpenCL version takes several...

performance
design

Consider the following function ``` namespace bc=boost::compute; void add_scalar(bc::vector& v, float scalar){ auto unary = bc::bind(bc::plus(),bc::placeholders::_1, scalar);//_1+scalar bc::transform(v().begin(),v().end(), v().begin(), unary); } ... bc::vector v(10000,1.0); for(int i = 0; i !=...

feature

Hi, I am trying to extend the boost.compute mechanisms to my matrix library and run into trouble implementing certain functionality as the mechanisms by which compute generates kernels out of...

feature
design

The following compiles but fails at run-time: ``` boost::compute::vector a(100,1.0); double t = 3.2; auto p = boost::compute::bind(boost::compute::pow(),boost::compute::placeholders::_1, t); boost::compute::transform(a.begin(),a.end(),a.begin(),p); ``` The issue is that pow can only take arguments...

feature

Hi, In functional/operators.hpp we have `BOOST_COMPUTE_DECLARE_BINARY_OPERATOR(equal_to, "==", T, T) BOOST_COMPUTE_DECLARE_BINARY_OPERATOR(not_equal_to, "!=", T, T) BOOST_COMPUTE_DECLARE_BINARY_OPERATOR(greater, ">", T, T) BOOST_COMPUTE_DECLARE_BINARY_OPERATOR(less, "=", T, T) BOOST_COMPUTE_DECLARE_BINARY_OPERATOR(less_equal, "

bug