MCPcopy Create free account
hub / github.com/boostorg/compute / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

test/test_buffer.cpp:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 10

bindFunction · 0.85
reference_countMethod · 0.80
cloneMethod · 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

Tested by

no test coverage detected