| 22 | namespace compute = boost::compute; |
| 23 | |
| 24 | BOOST_AUTO_TEST_CASE(invoke_builtin) |
| 25 | { |
| 26 | BOOST_CHECK_EQUAL(compute::invoke(compute::abs<int>(), queue, -3), 3); |
| 27 | BOOST_CHECK_CLOSE(compute::invoke(compute::pow<float>(), queue, 2.f, 8.f), 256.f, 1e-4); |
| 28 | } |
| 29 | |
| 30 | BOOST_AUTO_TEST_CASE(invoke_function) |
| 31 | { |
nothing calls this directly
no outgoing calls
no test coverage detected