Are there any 16 bit float datatypes / calculations available in CUDA? It would be a small convenience for me to have them.
I’m currently using short2’s for some coordinates. The thing is that I’d like to have some stuff after the dot: x: 0.25, y:234.43. Accuracy isn’t that important. Right now I’m simply multiplying/dividing by 64 (or shifting by 6) into and out of global mem. It feels a little like using a shoehorn - so are there 16 bit floats anywhere?
– edit: I shift by 6, not 8, duh