Force plugin to only use CPU

32 views
Skip to first unread message

Aaron Boxer

unread,
Nov 12, 2020, 12:39:57 PM11/12/20
to ofx-dis...@googlegroups.com
Hello!
I am interested in modifying one of the plugins that ships with Resolve - the simple Gain plugin.
Is there a way of forcing the plugin to be treated as a CPU plugin, even though I have a GPU on my system? 

In the setGPURenderArgs  call,  I would like to disable OpenCL and CUDA acceleration in the plugin, but the render arguments are passed in as a constant reference.

Any insight here would be greatly appreciated.
Thanks,
Aaron

Adams, Dennis

unread,
Nov 12, 2020, 12:46:18 PM11/12/20
to ofx-dis...@googlegroups.com

Look for “kOfxImageEffectPropOpenCLRenderSupported” which gets set in the kOfxActionDescribe call. There should be a CUDA one nearby.

 

///d@

--
You received this message because you are subscribed to the Google Groups "ofx-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ofx-discussio...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ofx-discussion/CAK8GPyBtu%2BjobwktPXqziO897hTOZxsC--79VjxhKh65WvsPMg%40mail.gmail.com.

Aaron Boxer

unread,
Nov 12, 2020, 12:49:46 PM11/12/20
to ofx-dis...@googlegroups.com

PierreJasmin_REVisionEffects

unread,
Nov 12, 2020, 12:59:26 PM11/12/20
to ofx-discussion
typo alert, should read:
kOfxImageEffectPropOpenGLRenderSupported

Adams, Dennis

unread,
Nov 12, 2020, 1:06:12 PM11/12/20
to ofx-dis...@googlegroups.com

I shared the Resolve property used for OpenCL, which is what OP asked for. You shared OpenGL property.

 

///d@

PierreJasmin_REVisionEffects

unread,
Nov 12, 2020, 1:16:10 PM11/12/20
to ofx-discussion
I see, no typo alert :)
Reply all
Reply to author
Forward
0 new messages