ddemidov / vexcl
1
#define BOOST_TEST_MODULE MultipleObjects
2
#include <boost/test/unit_test.hpp>
3
#include <vexcl/vexcl.hpp>
4

5
bool empty_context();
6

7 6
BOOST_AUTO_TEST_CASE(multiple_objects)
8
{
9 6
    vex::Context ctx( vex::Filter::Env );
10

11 6
    BOOST_REQUIRE(!empty_context());
12

13 6
    std::cout << vex::current_context() << std::endl;
14
}

Read our documentation on viewing source code .

Loading