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

Method id

compute/include/boost/compute/device.hpp:145–148  ·  view source on GitHub ↗

Returns the ID of the device.

Source from the content-addressed store, hash-verified

143
144 /// Returns the ID of the device.
145 cl_device_id id() const
146 {
147 return m_id;
148 }
149
150 /// Returns a reference to the underlying OpenCL device id.
151 cl_device_id& get() const

Callers 12

BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
contextMethod · 0.45
get_work_group_infoMethod · 0.45
get_sub_group_infoMethod · 0.45
command_queueMethod · 0.45
get_build_infoMethod · 0.45
create_with_binaryMethod · 0.45

Calls

no outgoing calls

Tested by 5

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36