boost::compute::type_name
// In header: <boost/compute/type_traits/type_name.hpp> template<typename T> const char * type_name();
Returns the OpenCL type name for the type T as a string.
T
For example:
type_name<float>() == "float" type_name<float4_>() == "float4"