added nco cuda function