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

Function main

example/hello_world.cpp:19–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17namespace compute = boost::compute;
18
19int main()
20{
21 // get the default device
22 compute::device device = compute::system::default_device();
23
24 // print the device's name
25 std::cout << "hello from " << device.name() << std::endl;
26
27 return 0;
28}
29//]

Callers

nothing calls this directly

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected