|
Blender V5.3
|
#include "device/optix/device.h"#include "device/cuda/device.h"#include "device/device.h"#include "util/log.h"Go to the source code of this file.
Macros | |
| #define | OPTIX_FUNCTION_TABLE_SYMBOL g_optixFunctionTable |
Functions | |
| CCL_NAMESPACE_BEGIN bool | device_optix_init (bool *r_meets_driver_requirement) |
| void | device_optix_info (const vector< DeviceInfo > &cuda_devices, vector< DeviceInfo > &devices) |
| unique_ptr< Device > | device_optix_create (const DeviceInfo &info, Stats &stats, Profiler &profiler, bool headless) |
| #define OPTIX_FUNCTION_TABLE_SYMBOL g_optixFunctionTable |
Definition at line 26 of file device/optix/device.cpp.
Referenced by device_optix_init().
| unique_ptr< Device > device_optix_create | ( | const DeviceInfo & | info, |
| Stats & | stats, | ||
| Profiler & | profiler, | ||
| bool | headless ) |
Definition at line 113 of file device/optix/device.cpp.
References device_optix_create(), and LOG_FATAL.
Referenced by Device::create(), and device_optix_create().
| void device_optix_info | ( | const vector< DeviceInfo > & | cuda_devices, |
| vector< DeviceInfo > & | devices ) |
Generate proper OptiX DeviceInfo based on an existing CUDA DeviceInfo for the same device. Does not require usage of the OptiX API, only CUDA API.
Definition at line 69 of file device/optix/device.cpp.
References assert, DENOISER_OPENIMAGEDENOISE, DENOISER_OPTIX, DEVICE_CUDA, DEVICE_OPTIX, and device_optix_info().
Referenced by Device::available_devices(), and device_optix_info().
| CCL_NAMESPACE_BEGIN bool device_optix_init | ( | bool * | r_meets_driver_requirement | ) |
Definition at line 31 of file device/optix/device.cpp.
References device_cuda_init(), device_optix_init(), LOG_WARNING, and OPTIX_FUNCTION_TABLE_SYMBOL.
Referenced by Device::available_devices(), Device::create(), and device_optix_init().