I am a newbie and am trying to use NPP for some image processing functions. I tried running the box filter sample. The code compiled fine but it crashes during execution with the following error:
Program error! The following exception occurred:
c:\cuda\npp\sdk\common\utilnpp\imageallocatorsnpp.h:75: pResult != 0 assertion faild!
I also created another test program. There also I get the same problem.
Here is the code:
Npp32s *d_kernel = nppiMalloc_32s_C1(kernelwidth, kernelheight, &stepBytesKnl);
Here d_kernel is undefined and steBytesKnl is zero even after the nppiMalloc function had returned.
Any help would be greatly appreciated.