diff options
author | Patrick Mours <pmours@nvidia.com> | 2019-09-12 15:50:06 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-13 12:50:11 +0300 |
commit | a2b52dc5716a97e5413acbd6eefc9ce3788b6456 (patch) | |
tree | 7e6d6c17b73671e67c1f7fbdadd821b4541f820f /intern/cycles/device/device_intern.h | |
parent | 53932f1f068501bfb095c407a7777a964dc5ec1c (diff) |
Cycles: add Optix device backend
This uses hardware-accelerated raytracing on NVIDIA RTX graphics cards.
It is still currently experimental. Most features are supported, but a few
are still missing like baking, branched path tracing and using CPU memory.
https://wiki.blender.org/wiki/Reference/Release_Notes/2.81/Cycles#NVIDIA_RTX
For building with Optix support, the Optix SDK must be installed. See here for
build instructions:
https://wiki.blender.org/wiki/Building_Blender/CUDA
Differential Revision: https://developer.blender.org/D5363
Diffstat (limited to 'intern/cycles/device/device_intern.h')
-rw-r--r-- | intern/cycles/device/device_intern.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/device/device_intern.h b/intern/cycles/device/device_intern.h index c393a3f9cda..5b8b86886c4 100644 --- a/intern/cycles/device/device_intern.h +++ b/intern/cycles/device/device_intern.h @@ -27,6 +27,9 @@ Device *device_opencl_create(DeviceInfo &info, Stats &stats, Profiler &profiler, bool device_opencl_compile_kernel(const vector<string> ¶meters); bool device_cuda_init(); Device *device_cuda_create(DeviceInfo &info, Stats &stats, Profiler &profiler, bool background); +bool device_optix_init(); +Device *device_optix_create(DeviceInfo &info, Stats &stats, Profiler &profiler, bool background); + Device *device_network_create(DeviceInfo &info, Stats &stats, Profiler &profiler, @@ -36,6 +39,7 @@ Device *device_multi_create(DeviceInfo &info, Stats &stats, Profiler &profiler, void device_cpu_info(vector<DeviceInfo> &devices); void device_opencl_info(vector<DeviceInfo> &devices); void device_cuda_info(vector<DeviceInfo> &devices); +void device_optix_info(vector<DeviceInfo> &devices); void device_network_info(vector<DeviceInfo> &devices); string device_cpu_capabilities(); |