| 33 | |
| 34 | |
| 35 | BOOST_AUTO_TEST_CASE(get_program_info) |
| 36 | { |
| 37 | // create program |
| 38 | boost::compute::program program = |
| 39 | boost::compute::program::create_with_source(source, context); |
| 40 | |
| 41 | // build program |
| 42 | program.build(); |
| 43 | |
| 44 | // check program info |
| 45 | #ifndef BOOST_COMPUTE_USE_OFFLINE_CACHE |
| 46 | BOOST_CHECK(program.source().empty() == false); |
| 47 | #endif |
| 48 | BOOST_CHECK(program.get_context() == context); |
| 49 | } |
| 50 | |
| 51 | BOOST_AUTO_TEST_CASE(program_source) |
| 52 | { |
nothing calls this directly
no test coverage detected