MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

compute/test/test_program.cpp:35–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34
35BOOST_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
51BOOST_AUTO_TEST_CASE(program_source)
52{

Callers

nothing calls this directly

Calls 15

supports_compile_programFunction · 0.85
supports_link_programFunction · 0.85
squareFunction · 0.85
make_pairFunction · 0.85
pocl_bug_issue_577Function · 0.85
buildMethod · 0.80
push_backMethod · 0.80
create_kernelMethod · 0.80
binaryMethod · 0.80
address_bitsMethod · 0.80
il_binaryMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected