Blender
V3.3
|
#include <device.h>
Public Member Functions | |
DeviceInfo () | |
bool | operator== (const DeviceInfo &info) const |
Public Attributes | |
DeviceType | type |
string | description |
string | id |
int | num |
bool | display_device |
bool | has_nanovdb |
bool | has_osl |
bool | has_profiling |
bool | has_peer_memory |
bool | has_gpu_queue |
bool | use_metalrt |
DenoiserTypeMask | denoisers |
int | cpu_threads |
vector< DeviceInfo > | multi_devices |
string | error_msg |
Definition at line 60 of file device/device.h.
|
inline |
Definition at line 78 of file device/device.h.
References cpu_threads, DENOISER_NONE, denoisers, DEVICE_CPU, display_device, has_gpu_queue, has_nanovdb, has_osl, has_peer_memory, has_profiling, num, type, and use_metalrt.
|
inline |
Definition at line 94 of file device/device.h.
References description, id, num, and type.
int DeviceInfo::cpu_threads |
Definition at line 74 of file device/device.h.
Referenced by CPUDevice::CPUDevice(), DeviceInfo(), 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 |
Definition at line 73 of file device/device.h.
Referenced by device_cpu_info(), device_cuda_info(), device_hip_info(), DeviceInfo(), find_best_device(), Device::get_multi_device(), and is_single_supported_device().
string DeviceInfo::description |
Definition at line 63 of file device/device.h.
Referenced by available_devices_func(), device_cpu_info(), device_cuda_info(), device_hip_info(), full_device_info_description(), Device::get_multi_device(), Denoiser::load_kernels(), operator==(), and options_parse().
bool DeviceInfo::display_device |
Definition at line 66 of file device/device.h.
Referenced by device_cuda_info(), device_hip_info(), DeviceInfo(), full_device_info_description(), and options_parse().
string DeviceInfo::error_msg |
Definition at line 76 of file device/device.h.
Referenced by Device::dummy_device(), and DummyDevice::DummyDevice().
bool DeviceInfo::has_gpu_queue |
Definition at line 71 of file device/device.h.
Referenced by device_cuda_info(), device_hip_info(), and DeviceInfo().
bool DeviceInfo::has_nanovdb |
Definition at line 67 of file device/device.h.
Referenced by device_cpu_info(), device_cuda_info(), device_hip_info(), DeviceInfo(), Device::get_multi_device(), and ImageManager::ImageManager().
bool DeviceInfo::has_osl |
Definition at line 68 of file device/device.h.
Referenced by device_cpu_info(), DeviceInfo(), Device::get_multi_device(), and Scene::Scene().
bool DeviceInfo::has_peer_memory |
Definition at line 70 of file device/device.h.
Referenced by available_devices_func(), blender_device_info(), device_cuda_info(), device_hip_info(), DeviceInfo(), Device::get_multi_device(), and MultiDevice::MultiDevice().
bool DeviceInfo::has_profiling |
Definition at line 69 of file device/device.h.
Referenced by device_cpu_info(), DeviceInfo(), and Device::get_multi_device().
string DeviceInfo::id |
Definition at line 64 of file device/device.h.
Referenced by available_devices_func(), blender_device_info(), device_cpu_info(), device_cuda_info(), device_hip_info(), full_device_info_description(), Device::get_multi_device(), Denoiser::load_kernels(), and operator==().
vector<DeviceInfo> DeviceInfo::multi_devices |
Definition at line 75 of file device/device.h.
Referenced by Device::create(), device_info_list_report(), Device::get_multi_device(), is_single_supported_device(), MultiDevice::MultiDevice(), and path_trace_devices_report().
int DeviceInfo::num |
Definition at line 65 of file device/device.h.
Referenced by device_cpu_info(), device_cuda_info(), device_hip_info(), DeviceInfo(), Device::get_multi_device(), and operator==().
DeviceType DeviceInfo::type |
Definition at line 62 of file device/device.h.
Referenced by available_devices_func(), MultiDevice::build_bvh(), Session::collect_statistics(), Device::create(), PathTraceWork::create(), create_denoiser_device(), device_cpu_info(), device_cuda_info(), device_hip_info(), device_memory::device_is_cpu(), DeviceInfo(), Device::dummy_device(), ShaderEval::eval(), find_best_denoiser_device_info(), full_device_info_description(), Device::get_multi_device(), HdCyclesDelegate::GetRenderSetting(), is_single_supported_device(), MultiDevice::MultiDevice(), operator==(), options_parse(), path_trace_devices_report(), PathTraceWorkCPU::PathTraceWorkCPU(), and Session::thread_render().
bool DeviceInfo::use_metalrt |
Definition at line 72 of file device/device.h.
Referenced by blender_device_info(), DeviceInfo(), and Device::get_multi_device().