| 18 | namespace compute = boost::compute; |
| 19 | |
| 20 | BOOST_AUTO_TEST_CASE(allocate) |
| 21 | { |
| 22 | compute::buffer_allocator<int> allocator(context); |
| 23 | |
| 24 | typedef compute::buffer_allocator<int>::pointer pointer; |
| 25 | pointer x = allocator.allocate(10); |
| 26 | allocator.deallocate(x, 10); |
| 27 | } |
| 28 | |
| 29 | BOOST_AUTO_TEST_SUITE_END() |
nothing calls this directly
no test coverage detected