|
Blender V5.0
|
#include <device.h>
Public Member Functions | |
| DeviceInfo ()=default | |
| bool | operator== (const DeviceInfo &info) const |
| bool | operator!= (const DeviceInfo &info) const |
Public Attributes | |
| DeviceType | type = DEVICE_CPU |
| string | description |
| string | id = "CPU" |
| int | num = 0 |
| bool | display_device = false |
| bool | has_nanovdb = false |
| bool | has_mnee = true |
| bool | has_osl = false |
| bool | has_guiding = false |
| bool | has_profiling = false |
| bool | has_peer_memory = false |
| bool | has_gpu_queue = false |
| bool | use_hardware_raytracing = false |
| bool | use_metalrt_by_default = false |
| bool | has_execution_optimization = true |
| KernelOptimizationLevel | kernel_optimization_level |
| DenoiserTypeMask | denoisers = DENOISER_NONE |
| int | cpu_threads = 0 |
| vector< DeviceInfo > | multi_devices |
| string | error_msg |
Definition at line 79 of file device/device.h.
|
default |
Referenced by operator!=(), and operator==().
|
inline |
Definition at line 118 of file device/device.h.
References DeviceInfo().
|
inline |
Definition at line 110 of file device/device.h.
References assert, description, DeviceInfo(), id, kernel_optimization_level, num, type, and use_hardware_raytracing.
| int DeviceInfo::cpu_threads = 0 |
Definition at line 104 of file device/device.h.
Referenced by ShaderEval::eval_cpu(), full_device_info_description(), Device::get_multi_device(), and local_tbb_arena_create().
| DenoiserTypeMask DeviceInfo::denoisers = DENOISER_NONE |
Definition at line 103 of file device/device.h.
Referenced by available_devices_func(), device_cpu_info(), device_cuda_info(), device_hip_info(), and find_best_device().
| string DeviceInfo::description |
Definition at line 82 of file device/device.h.
Referenced by available_devices_func(), device_cpu_info(), device_cuda_info(), device_hip_info(), full_device_info_description(), and operator==().
| bool DeviceInfo::display_device = false |
Definition at line 86 of file device/device.h.
Referenced by device_cuda_info(), device_hip_info(), and full_device_info_description().
| string DeviceInfo::error_msg |
Definition at line 106 of file device/device.h.
| bool DeviceInfo::has_execution_optimization = true |
Definition at line 98 of file device/device.h.
Referenced by available_devices_func().
| bool DeviceInfo::has_gpu_queue = false |
Definition at line 93 of file device/device.h.
Referenced by device_cuda_info(), and device_hip_info().
| bool DeviceInfo::has_guiding = false |
Definition at line 90 of file device/device.h.
Referenced by device_cpu_info(), and Integrator::get_guiding_params().
| bool DeviceInfo::has_mnee = true |
Definition at line 88 of file device/device.h.
Referenced by device_hip_info().
| bool DeviceInfo::has_nanovdb = false |
Definition at line 87 of file device/device.h.
Referenced by device_cpu_info(), device_cuda_info(), device_hip_info(), and ImageManager::ImageManager().
| bool DeviceInfo::has_osl = false |
Definition at line 89 of file device/device.h.
Referenced by device_cpu_info().
| bool DeviceInfo::has_peer_memory = false |
Definition at line 92 of file device/device.h.
Referenced by adjust_device_info_from_preferences(), available_devices_func(), device_cuda_info(), and device_hip_info().
| bool DeviceInfo::has_profiling = false |
Definition at line 91 of file device/device.h.
Referenced by device_cpu_info().
| string DeviceInfo::id = "CPU" |
Definition at line 84 of file device/device.h.
Referenced by available_devices_func(), device_cpu_info(), device_cuda_info(), device_hip_info(), full_device_info_description(), and operator==().
| KernelOptimizationLevel DeviceInfo::kernel_optimization_level |
Definition at line 100 of file device/device.h.
Referenced by adjust_device_info(), and operator==().
| vector<DeviceInfo> DeviceInfo::multi_devices |
Definition at line 105 of file device/device.h.
Referenced by adjust_device_info(), device_info_list_report(), is_single_device(), and path_trace_devices_report().
| int DeviceInfo::num = 0 |
Definition at line 85 of file device/device.h.
Referenced by device_cpu_info(), device_cuda_info(), device_hip_info(), and operator==().
| DeviceType DeviceInfo::type = DEVICE_CPU |
Definition at line 81 of file device/device.h.
Referenced by adjust_device_info_from_preferences(), Denoiser::automatic_viewport_denoiser_type(), available_devices_func(), Denoiser::create(), PathTraceWork::create(), device_cpu_info(), device_cuda_info(), device_hip_info(), ShaderEval::eval(), find_best_device(), full_device_info_description(), get_effective_denoise_params(), HdCyclesDelegate::GetRenderSetting(), is_single_device(), MultiDevice::MultiDevice(), operator==(), path_trace_devices_report(), PathTraceWorkCPU::PathTraceWorkCPU(), PathTrace::set_denoiser_params(), and MultiDevice::verify_hardware_raytracing().
| bool DeviceInfo::use_hardware_raytracing = false |
Definition at line 94 of file device/device.h.
Referenced by adjust_device_info_from_preferences(), available_devices_func(), device_hip_create(), device_hip_info(), operator==(), and MultiDevice::verify_hardware_raytracing().
| bool DeviceInfo::use_metalrt_by_default = false |
Definition at line 95 of file device/device.h.
Referenced by adjust_device_info_from_preferences().