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

Function BOOST_AUTO_TEST_CASE

compute/test/test_buffer.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace bc = boost::compute;
27
28BOOST_AUTO_TEST_CASE(size)
29{
30 bc::buffer buffer(context, 100);
31 BOOST_CHECK_EQUAL(buffer.size(), size_t(100));
32 BOOST_VERIFY(buffer.max_size() > buffer.size());
33}
34
35BOOST_AUTO_TEST_CASE(cl_context)
36{

Callers

nothing calls this directly

Calls 11

bindFunction · 0.85
reference_countMethod · 0.80
get_memory_flagsMethod · 0.80
create_subbufferMethod · 0.80
sizeMethod · 0.45
max_sizeMethod · 0.45
get_contextMethod · 0.45
getMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected