cpp is working with cuda extension.