Returns the type of the device.
| 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. |
no outgoing calls