NVPP nppiResize return error? about calling nvpp.

HI:

I have download the nvpp 1.0, and tried to use it. I have trie the resize, but it returns NPP_ERROR:

/use openCV as IO/

IplImage *src, *dst;
char *filename = “lena.jpg”;
src = cvLoadImage(filename,0); /load as GRAY , not color/
double scale = 1.3;

dstSize.width = (int)(src->width* scale);
dstSize.height = (int)(src->height * scale);

dst = cvCreateImage(dstSize, src->depth, src->nChannels);

/*set up region of insteresting and size */

NppiSize srcNVSize, dstNVSize;
NppiRect srcRoi, dstRoi;

srcNVSize.width = src->width;
srcNVSize.height = src->height;

dstNVSize.width = dst->width;
dstNVSize.height = dst->height;

srcRoi.x = 0;
srcRoi.y = 0;
srcRoi.width = src->width;
srcRoi.height = src->height;

dstRoi.x = 0;
dstRoi.y = 0;
dstRoi.width = dst->width;
dstRoi.height = dst->height;

NppStatus status;

status = nppiResize_8u_C1R ( (Npp8u*)(src->imageData), srcNVSize, (src->width), srcRoi, (Npp8u*)(dst->imageData),
(dst->width) , dstNVSize, scale , scale, 1);

Then the status is always returned “NPP_ERROR”, I do not know what parameter I set wrong.

Is any one could help me? thank you.