CudaDecodeD3d9 post-processing

Hey, anybody know how to integrate our code in post-processing part of CudaDecodeD3D9 sample code? I want to find histogram and track object from it.I have implemented Histogram device-code which works well with Cuda Runtime API,but I don’t know How to use Cuda Driver API.

If u have example code for CUDA driver API then please send it also…I am getting error of “ptx file not found”

you have to set your .cu files to output a .ptx instead of a .cubin and load it manually with cuModuleLoad. I’d advise looking over the programming guide on this stuff, or at the decoder SDK example for some good examples