CUDA NPP - unknown error upon GPU error check
问题 I am trying to sum all the pixels in an image, and get the average of all pixels using the CUDA NPP library. My image is an 8-bit unsigned char grayscale image of dimension w256 x h1024 . I have tried to follow all the required rules of declaring pointers and passing the corresponding NPP-type pointers to the NPP functions. However, I am getting an unknown error when I perform GPU error checking on my code. I tried to debug it but, I can't seem to figure out as to where I am going wrong, and