from unsigned short to float with tmp array


Is it possible to copy an unsigned short array from the CPU to a float array on device without creating a temporal unsigned short array on the GPU?



Do you want to convert the values to float? Then you might be able to let the texture unit do the conversion for you. You would read your values through a texture fetch then.