Has anyone successfully gotten Avisynth and CUDA to play with each other? I’ve compiled a DLL from the CUDA template and implement the AviSynth DLL export function(s). If I don’t call any functions from a .cu file the DLL works. If I call a function in a .cu file I get an exception thrown from AviSynth. Anyone have any luck with this?
I also tried compiling two seperate DLLs. One with the AviSynth functions and one with the CUDA functions. But that suffers the same fate.
My next thought is to create a client/server system or use a pipe to transfer data from the AviSynth DLL to a CUDA executable, perform the work and transfer it back. But I am afraid this may incur a large data movement penalty.
Any suggestions? My goal is to accelerate several AviSynth filters via the CUDA interface, but so far this isn’t looking feasible.