Feature request. Currently converting from float to half requires either sending the data to the GPU, or twiddling the bits yourself. Neither are rather savory. Why not include the convert_* functions on the host side? Theoretically they could be implemented as nice SIMD vector operations on the CPU too.

Brian Cole