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

Function BOOST_AUTO_TEST_CASE

compute/test/test_device.cpp:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#include "opencl_version_check.hpp"
21
22BOOST_AUTO_TEST_CASE(null_device)
23{
24 boost::compute::device null;
25 BOOST_CHECK(null.id() == cl_device_id());
26 BOOST_CHECK(null.get() == cl_device_id());
27}
28
29BOOST_AUTO_TEST_CASE(default_device_doctest)
30{

Callers

nothing calls this directly

Calls 15

supports_partition_typeFunction · 0.85
sortFunction · 0.85
compute_unitsMethod · 0.80
is_subdeviceMethod · 0.80
partition_equallyMethod · 0.80
push_backMethod · 0.80
partition_by_countsMethod · 0.80
get_host_timerMethod · 0.80

Tested by

no test coverage detected