NPP and template matching

I’m trying to use the npp code for template matching, how ever all I get is a blank image. Is there some sample code available on how to use the template matching primitives NVIDIA 2D Image And Signal Performance Primitives (NPP): Image Proximity

I was able to get the edge detector running based on the examples installed when cuda is intalled.