|
Blender V4.5
|
#include <device.h>
Public Member Functions | |
| DeviceInfo ()=default | |
| bool | operator== (const DeviceInfo &info) const |
| bool | operator!= (const DeviceInfo &info) const |
| bool | contains_device_type (const DeviceType type) 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 80 of file device/device.h.
|
default |
| bool DeviceInfo::contains_device_type | ( | const DeviceType | type | ) | const |
Definition at line 819 of file device/device.cpp.
References info, multi_devices, and type.
|
inline |
Definition at line 119 of file device/device.h.
References info.
|
inline |
Definition at line 111 of file device/device.h.
References assert, description, info, kernel_optimization_level, num, type, and use_hardware_raytracing.
| int DeviceInfo::cpu_threads = 0 |
Definition at line 105 of file device/device.h.
Referenced by CPUDevice::CPUDevice(), ShaderEval::eval_cpu(), full_device_info_description(), CPUDevice::get_cpu_kernel_thread_globals(), Device::get_multi_device(), and local_tbb_arena_create().
| DenoiserTypeMask DeviceInfo::denoisers = DENOISER_NONE |
Definition at line 104 of file device/device.h.
Referenced by available_devices_func(), find_best_device(), and Device::get_multi_device().
| string DeviceInfo::description |
Definition at line 83 of file device/device.h.
Referenced by available_devices_func(), full_device_info_description(), Device::get_multi_device(), Denoiser::load_kernels(), and operator==().
| bool DeviceInfo::display_device = false |
Definition at line 87 of file device/device.h.
Referenced by full_device_info_description().
| string DeviceInfo::error_msg |
Definition at line 107 of file device/device.h.
Referenced by Device::dummy_device(), and DummyDevice::DummyDevice().
| bool DeviceInfo::has_execution_optimization = true |
Definition at line 99 of file device/device.h.
Referenced by available_devices_func().
| bool DeviceInfo::has_gpu_queue = false |
Definition at line 94 of file device/device.h.
| bool DeviceInfo::has_guiding = false |
Definition at line 91 of file device/device.h.
Referenced by Integrator::get_guiding_params(), and Device::get_multi_device().
| bool DeviceInfo::has_mnee = true |
Definition at line 89 of file device/device.h.
Referenced by Device::get_multi_device(), and Scene::update_kernel_features().
| bool DeviceInfo::has_nanovdb = false |
Definition at line 88 of file device/device.h.
Referenced by Device::get_multi_device().
| bool DeviceInfo::has_osl = false |
Definition at line 90 of file device/device.h.
Referenced by Device::get_multi_device(), and Scene::Scene().
| bool DeviceInfo::has_peer_memory = false |
Definition at line 93 of file device/device.h.
Referenced by available_devices_func(), Device::get_multi_device(), and MultiDevice::MultiDevice().
| bool DeviceInfo::has_profiling = false |
Definition at line 92 of file device/device.h.
Referenced by Device::get_multi_device().
| string DeviceInfo::id = "CPU" |
Definition at line 85 of file device/device.h.
Referenced by available_devices_func(), full_device_info_description(), Device::get_multi_device(), and Denoiser::load_kernels().
| KernelOptimizationLevel DeviceInfo::kernel_optimization_level |
Definition at line 101 of file device/device.h.
Referenced by adjust_device_info(), and operator==().
| vector<DeviceInfo> DeviceInfo::multi_devices |
Definition at line 106 of file device/device.h.
Referenced by adjust_device_info(), contains_device_type(), Device::create(), device_info_list_report(), Device::get_multi_device(), is_single_device(), MultiDevice::MultiDevice(), path_trace_devices_report(), and MultiDevice::verify_hardware_raytracing().
| int DeviceInfo::num = 0 |
Definition at line 86 of file device/device.h.
Referenced by Device::get_multi_device(), and operator==().
| DeviceType DeviceInfo::type = DEVICE_CPU |
Definition at line 82 of file device/device.h.
Referenced by Denoiser::automatic_viewport_denoiser_type(), available_devices_func(), Session::collect_statistics(), contains_device_type(), Denoiser::create(), Device::create(), PathTraceWork::create(), device_cpu_info(), device_cuda_info(), device_hip_info(), device_memory::device_is_cpu(), Device::dummy_device(), ShaderEval::eval(), find_best_device(), full_device_info_description(), get_effective_denoise_params(), Device::get_multi_device(), HdCyclesDelegate::GetRenderSetting(), is_single_device(), operator==(), options_parse(), path_trace_devices_report(), PathTraceWorkCPU::PathTraceWorkCPU(), PathTrace::set_denoiser_params(), and Session::thread_render().
| bool DeviceInfo::use_hardware_raytracing = false |
Definition at line 95 of file device/device.h.
Referenced by available_devices_func(), Device::get_multi_device(), operator==(), and MultiDevice::verify_hardware_raytracing().
| bool DeviceInfo::use_metalrt_by_default = false |
Definition at line 96 of file device/device.h.