| 107 | } |
| 108 | |
| 109 | int main(int argc, char *argv[]) |
| 110 | { |
| 111 | perf_parse_args(argc, argv); |
| 112 | |
| 113 | // setup context and queue for the default device |
| 114 | boost::compute::device device = boost::compute::system::default_device(); |
| 115 | boost::compute::context context(device); |
| 116 | boost::compute::command_queue queue(context, device); |
| 117 | std::cout << "device: " << device.name() << std::endl; |
| 118 | |
| 119 | test_copy_if_odd(queue); |
| 120 | |
| 121 | return 0; |
| 122 | } |
nothing calls this directly
no test coverage detected