Nvidia Primitive functions for rotating an image

Hi,

Bilinear interpolation is linear interpolation but apply to both x-axis and y-axis.
You can find all the supported interpolation algorithm here:
https://docs.nvidia.com/cuda/npp/group__typedefs__npp.html#ga2b58ebd329141d560aa4367f1708f191

For MEMSET issue, could you try to access the dev_im1 buffer with NPP API to see if any error first?
It should be similar to this:

// Allocate the device memroy.
cudaMalloc((void **)(&pSrc), sizeof(Npp32f) * nLength);
nppsSet_32f(1.0f, pSrc, nLength);  
cudaMalloc((void **)(&pSum), sizeof(Npp32f) * 1);

Thanks.