Fix CUDA-aware support with sendi optimization.  Need to make sure copy function
is initialized.