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

Method type

compute/include/boost/compute/device.hpp:157–160  ·  view source on GitHub ↗

Returns the type of the device.

Source from the content-addressed store, hash-verified

155
156 /// Returns the type of the device.
157 cl_device_type type() const
158 {
159 return get_info<cl_device_type>(CL_DEVICE_TYPE);
160 }
161
162 #ifdef BOOST_COMPUTE_DOXYGEN_INVOKED
163 /// Returns the platform for the device.

Callers 5

mainFunction · 0.45
mainFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
is_apple_cpu_deviceFunction · 0.45
find_default_deviceMethod · 0.45

Calls

no outgoing calls

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.36
is_apple_cpu_deviceFunction · 0.36