removing rvalue references for CUDA
adding CUDA support in the buid system