added cl code for host, RGB-float format