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

Function main

compute/perf/perf_copy_if.cpp:109–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109int main(int argc, char *argv[])
110{
111 perf_parse_args(argc, argv);
112
113 // setup context and queue for the default device
114 boost::compute::device device = boost::compute::system::default_device();
115 boost::compute::context context(device);
116 boost::compute::command_queue queue(context, device);
117 std::cout << "device: " << device.name() << std::endl;
118
119 test_copy_if_odd(queue);
120
121 return 0;
122}

Callers

nothing calls this directly

Calls 3

perf_parse_argsFunction · 0.85
test_copy_if_oddFunction · 0.85
nameMethod · 0.45

Tested by

no test coverage detected