|
Blender V5.3
|
#include <device.h>
Public Member Functions | |
| DeviceInfo ()=default | |
| bool | operator== (const DeviceInfo &info) const |
| bool | operator!= (const DeviceInfo &info) const |
| bool | has_mnee () 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 |
| bool | meets_driver_requirement = 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 Device::available_devices(), has_mnee(), operator!=(), and operator==().
|
inline |
Definition at line 131 of file device/device.h.
References DEVICE_HIP, DeviceInfo(), has_mnee_, multi_devices, type, and use_hardware_raytracing.
Referenced by Scene::update_kernel_features().
|
inline |
Definition at line 126 of file device/device.h.
References DeviceInfo().
|
inline |
Definition at line 118 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 112 of file device/device.h.
Referenced by CPUDevice::acquire_cpu_kernel_thread_globals(), CPUDevice::CPUDevice(), ShaderEval::eval_cpu(), full_device_info_description(), Device::get_multi_device(), and local_tbb_arena_create().
| DenoiserTypeMask DeviceInfo::denoisers = DENOISER_NONE |
Definition at line 111 of file device/device.h.
Referenced by available_devices_func(), device_cpu_info(), device_cuda_info(), device_hip_info(), find_best_device(), and Device::get_multi_device().
| string DeviceInfo::description |
Definition at line 82 of file device/device.h.
Referenced by Device::available_devices(), available_devices_func(), device_cpu_info(), device_cuda_info(), device_hip_info(), full_device_info_description(), Device::get_multi_device(), Denoiser::load_kernels(), 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 114 of file device/device.h.
Referenced by Device::dummy_device(), and DummyDevice::DummyDevice().
| 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(), Integrator::get_guiding_params(), and Device::get_multi_device().
| bool DeviceInfo::has_mnee_ = true |
Definition at line 88 of file device/device.h.
Referenced by Device::get_multi_device(), and has_mnee().
| 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 Device::get_multi_device().
| bool DeviceInfo::has_osl = false |
Definition at line 89 of file device/device.h.
Referenced by device_cpu_info(), Device::get_multi_device(), and Scene::Scene().
| 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(), device_hip_info(), Device::get_multi_device(), and MultiDevice::MultiDevice().
| bool DeviceInfo::has_profiling = false |
Definition at line 91 of file device/device.h.
Referenced by device_cpu_info(), Device::get_multi_device(), and BlenderSync::get_session_params().
| string DeviceInfo::id = "CPU" |
Definition at line 84 of file device/device.h.
Referenced by Device::available_devices(), available_devices_func(), device_cpu_info(), device_cuda_info(), device_hip_info(), full_device_info_description(), Device::get_multi_device(), Denoiser::load_kernels(), and operator==().
| KernelOptimizationLevel DeviceInfo::kernel_optimization_level |
Definition at line 108 of file device/device.h.
Referenced by adjust_device_info(), and operator==().
| bool DeviceInfo::meets_driver_requirement = true |
Definition at line 106 of file device/device.h.
Referenced by Device::available_devices(), available_devices_func(), and device_cuda_info().
| vector<DeviceInfo> DeviceInfo::multi_devices |
Definition at line 113 of file device/device.h.
Referenced by adjust_device_info(), Device::create(), device_info_list_report(), Device::get_multi_device(), has_mnee(), is_single_device(), MultiDevice::MultiDevice(), path_trace_devices_report(), and MultiDevice::verify_hardware_raytracing().
| int DeviceInfo::num = 0 |
Definition at line 85 of file device/device.h.
Referenced by Device::available_devices(), device_cpu_info(), device_cuda_info(), device_hip_info(), Device::get_multi_device(), 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(), Device::available_devices(), available_devices_func(), Session::collect_statistics(), 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(), ImageCache::evict_unused(), find_best_device(), full_device_info_description(), get_effective_denoise_params(), Device::get_multi_device(), HdCyclesDelegate::GetRenderSetting(), has_mnee(), is_single_device(), MultiDevice::MultiDevice(), operator==(), options_parse(), path_trace_devices_report(), PathTraceWorkCPU::PathTraceWorkCPU(), PathTrace::set_denoiser_params(), Session::thread_render(), 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(), device_info_list_report(), Device::get_multi_device(), has_mnee(), 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().