GPUOpen-LibrariesAndSDKs / RadeonProRenderBlenderAddon

This hardware-agnostic rendering plug-in for Blender uses accurate ray-tracing technology to produce images and animations of your scenes, and provides real-time interactive rendering and continuous adjustment of effects.
https://gpuopen.com/radeon-prorender-suite/
Apache License 2.0
480 stars 56 forks source link

RPRBLND-2239: Add support for CUDA / HIP in 2.0.18 northstar. With option for users to switch back to Opencl #590

Closed VascoPi closed 1 year ago

VascoPi commented 1 year ago

PURPOSE

Add support for CUDA / HIP in 2.0.18 northstar. With option for users to switch back to Opencl.

EFFECT OF CHANGE

OpenCL can be enabled from Debug panel, otherwise, HIP is used. image

TECHNICAL STEPS

Added constant variable use_opencl to config.py. The default is False. Added use_opencl bool property and UI checkbox to enable/disable OpenCL using flag CREATION_FLAGS_ENABLE_OPENCL.

NOTES FOR REVIEWERS

Requires SDK 3.01 to be merged PR-586