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

Function BOOST_AUTO_TEST_CASE

compute/test/test_kernel.cpp:25–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace compute = boost::compute;
24
25BOOST_AUTO_TEST_CASE(name)
26{
27 compute::kernel foo = compute::kernel::create_with_source(
28 "__kernel void foo(int x) { }", "foo", context
29 );
30 BOOST_CHECK_EQUAL(foo.name(), "foo");
31
32 compute::kernel bar = compute::kernel::create_with_source(
33 "__kernel void bar(float x) { }", "bar", context
34 );
35 BOOST_CHECK_EQUAL(bar.name(), "bar");
36}
37
38BOOST_AUTO_TEST_CASE(arity)
39{

Callers

nothing calls this directly

Calls 14

arityMethod · 0.80
buildMethod · 0.80
create_kernelMethod · 0.80
nameMethod · 0.45
set_argMethod · 0.45
getMethod · 0.45
set_argsMethod · 0.45
check_versionMethod · 0.45
supports_extensionMethod · 0.45
sizeMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected