Can I transfer a image from host to device or inverse with "nppiCopy_32f_C3R" ?

Hi there,
I’m working on a program that uses NPP to do image filtering. Now, I wonder if I can use n\


to upload my image data from host to device memory?
In fact, when I try this, it failed all time. I believe this function is implemented basing on


, (but I’m not sure about this). If I use cudaMemcpy2D, it do work. So I think


only copy image from device to device. Is that true? Thanks for any advices!