i have a question about implementing a premiere plugin which uses CUDA and OpenCL.
Unfortunately, the SDK only provides an OpenCL Sample Plugin.
My first idea was it to create a plugin which only uses OpenCL for GPU acceleration, but then i realized, that Premiere just provides CUDA rendering on NVidia cards. So now i need to support both, OpenCL and CUDA.
Since i've never implemented a CUDA accelerated program it's not that easy for me to implement such a plugin.
So how to integrate OpenCL and CUDA support into my plugin? Can somebody help me with a sample project or sample code?
Or maybe there is a way to force OpenCL rendering for my plugin?