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\

nppiCopy_32f_C3R

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

cudaMemcpy2D

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

nppiCopy_32f_C3R

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