-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gpu gain example #132
Gpu gain example #132
Conversation
Signed-off-by: Gary Oberbrunner <[email protected]>
Signed-off-by: Gary Oberbrunner <[email protected]>
Per changes from Blackmagic Design Signed-off-by: Gary Oberbrunner <[email protected]>
Also update support lib to handle CUDA/OpenCL/Metal render properties and processing functions. Signed-off-by: Gary Oberbrunner <[email protected]>
Signed-off-by: Gary Oberbrunner <[email protected]>
MacOS isn't hard; just add Metal frameworks to the link. Linux and Windows will still need work, to link with CUDA. Also fixed the Support include dir in `Examples/CMakeLists.txt`. Signed-off-by: Gary Oberbrunner <[email protected]>
Signed-off-by: Gary Oberbrunner <[email protected]>
Signed-off-by: Gary Oberbrunner <[email protected]>
df664b6
to
b45a4f9
Compare
Signed-off-by: Gary Oberbrunner <[email protected]>
7c0601b
to
7a6ed2a
Compare
Github CI runners have only ~14GB free space. CUDA takes a lot. Using the "network" method with only a subset of packages may help. Signed-off-by: Gary Oberbrunner <[email protected]>
7a6ed2a
to
c5e920e
Compare
Signed-off-by: Gary Oberbrunner <[email protected]>
143d081
to
4c5fec7
Compare
Signed-off-by: Gary Oberbrunner <[email protected]>
Signed-off-by: Gary Oberbrunner <[email protected]>
Also add install step to build-cmake.sh. You can override the install dir via `-DPLUGIN_INSTALLDIR=/any/absolute/path`. Signed-off-by: Gary Oberbrunner <[email protected]>
3f8dd26
to
b9ded56
Compare
* Modify ofxGPURender.h to support OpenCL Images * Add kOfxImageEffectActionBeginSequenceRender and kOfxImageEffectActionEndSequenceRender as required actions for some CUDA/Metal/OpenCL properties where they were not listed * Also make documentation edits in the same header * Modify GPUGain example to also support OpenCL Images and show how to disambiguate in the case where a plug-in supports both OpenCL Buffers and OpenCL Images Signed-off-by: Dennis Adams <[email protected]>
The build folder structure for GPUGain does not match the other examples: |
Also see #140 from @SonyDennisAdams |
…l-images Add OpenCL Image support to the updated GPU rendering extension:
Signed-off-by: Gary Oberbrunner <[email protected]>
Signed-off-by: Gary Oberbrunner <[email protected]>
GPUGain location should be fixed by c298169 (once it builds in CI) |
Signed-off-by: Gary Oberbrunner <[email protected]>
Also clean up formatting of CMakeLists.txt and cmake/OpenFX.cmake using `cmake-format`. Signed-off-by: Gary Oberbrunner <[email protected]>
Signed-off-by: Gary Oberbrunner <[email protected]>
…ptions Now all examples go into "OpenFX Examples" or "OpenFX Examples (Support)" as they should. Natron wouldn't load GPU Gain due to an exception on load due to host properties not found, so I added code to trap and log those. Signed-off-by: Gary Oberbrunner <[email protected]>
@garyo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirmed Windows and Mac OpenCL Buffer and Image support work
Thanks for the review comments from @SonyDennisAdams. Signed-off-by: Gary Oberbrunner <[email protected]>
Another company just asked me why this is in Support but not in Examples folder? Pierre |
This example was created by Blackmagic, who generously donated it to us. It uses the C++ support lib. An example that doesn't use the support lib would be very welcome. |
No description provided.