Textures(surfaces, actually) in cuda do not work properly, if used on device first (without some actions on host side earlier)