| 23 | namespace compute = boost::compute; |
| 24 | |
| 25 | BOOST_AUTO_TEST_CASE(name) |
| 26 | { |
| 27 | compute::kernel foo = compute::kernel::create_with_source( |
| 28 | "__kernel void foo(int x) { }", "foo", context |
| 29 | ); |
| 30 | BOOST_CHECK_EQUAL(foo.name(), "foo"); |
| 31 | |
| 32 | compute::kernel bar = compute::kernel::create_with_source( |
| 33 | "__kernel void bar(float x) { }", "bar", context |
| 34 | ); |
| 35 | BOOST_CHECK_EQUAL(bar.name(), "bar"); |
| 36 | } |
| 37 | |
| 38 | BOOST_AUTO_TEST_CASE(arity) |
| 39 | { |
nothing calls this directly
no test coverage detected