basic algorithm implementation to convert RGBA to Gray scale using CUDA