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

Function BOOST_AUTO_TEST_CASE

test/test_functional_get.cpp:25–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace compute = boost::compute;
24
25BOOST_AUTO_TEST_CASE(get_vector_result_type)
26{
27 BOOST_STATIC_ASSERT((
28 boost::is_same<
29 boost::compute::result_of<
30 compute::get<0>(compute::float4_)
31 >::type,
32 float
33 >::value
34 ));
35 BOOST_STATIC_ASSERT((
36 boost::is_same<
37 boost::compute::result_of<
38 compute::get<1>(compute::int2_)
39 >::type,
40 int
41 >::value
42 ));
43}
44
45BOOST_AUTO_TEST_CASE(get_pair_result_type)
46{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected