I’m trying to use CUDA from a DirectShow filter that I wrote and I have troubles. I created a lib with my CUDA functions that I’m calling from my Directshow Filter dll. The cudaMalloc and cudaMemcpy calls are successful but when I call my kernel, I get a cudaErrorInvalidDeviceFunction return code from my cudaGetLastError() that follows. When I integrate the same lib in a regular exe, I have no problem. What could be the problem ?
Thank you very much to help me.