| 248 | #endif // BOOST_COMPUTE_CL_VERSION_2_1 |
| 249 | |
| 250 | inline boost::compute::platform device::platform() const |
| 251 | { |
| 252 | return boost::compute::platform(get_info<CL_DEVICE_PLATFORM>()); |
| 253 | } |
| 254 | |
| 255 | } // end compute namespace |
| 256 | } // end boost namespace |