Blender V4.3
DeviceInfo Class Reference

#include <device.h>

Public Member Functions

 DeviceInfo ()
bool operator== (const DeviceInfo &info) const
bool operator!= (const DeviceInfo &info) const

Public Attributes

DeviceType type
string description
string id
int num
bool display_device
bool has_nanovdb
bool has_mnee
bool has_osl
bool has_guiding
bool has_profiling
bool has_peer_memory
bool has_gpu_queue
bool use_hardware_raytracing
bool use_metalrt_by_default
KernelOptimizationLevel kernel_optimization_level
DenoiserTypeMask denoisers
int cpu_threads
vector< DeviceInfomulti_devices
string error_msg

Detailed Description

Definition at line 78 of file device/device.h.

Constructor & Destructor Documentation

◆ DeviceInfo()

Member Function Documentation

◆ operator!=()

bool DeviceInfo::operator!= ( const DeviceInfo & info) const
inline

Definition at line 128 of file device/device.h.

References DeviceInfo().

◆ operator==()

bool DeviceInfo::operator== ( const DeviceInfo & info) const
inline

Member Data Documentation

◆ cpu_threads

◆ denoisers

◆ description

◆ display_device

bool DeviceInfo::display_device

◆ error_msg

string DeviceInfo::error_msg

Definition at line 99 of file device/device.h.

◆ has_gpu_queue

bool DeviceInfo::has_gpu_queue

Definition at line 91 of file device/device.h.

Referenced by device_cuda_info(), device_hip_info(), and DeviceInfo().

◆ has_guiding

bool DeviceInfo::has_guiding

◆ has_mnee

bool DeviceInfo::has_mnee

Definition at line 86 of file device/device.h.

Referenced by device_hip_info(), DeviceInfo(), and Device::get_multi_device().

◆ has_nanovdb

bool DeviceInfo::has_nanovdb

◆ has_osl

bool DeviceInfo::has_osl

Definition at line 87 of file device/device.h.

Referenced by device_cpu_info(), DeviceInfo(), and Device::get_multi_device().

◆ has_peer_memory

◆ has_profiling

bool DeviceInfo::has_profiling

Definition at line 89 of file device/device.h.

Referenced by device_cpu_info(), DeviceInfo(), and Device::get_multi_device().

◆ id

◆ kernel_optimization_level

KernelOptimizationLevel DeviceInfo::kernel_optimization_level

Definition at line 94 of file device/device.h.

Referenced by adjust_device_info(), and operator==().

◆ multi_devices

vector<DeviceInfo> DeviceInfo::multi_devices

◆ num

int DeviceInfo::num

◆ type

◆ use_hardware_raytracing

◆ use_metalrt_by_default

bool DeviceInfo::use_metalrt_by_default

Definition at line 93 of file device/device.h.

Referenced by adjust_device_info_from_preferences(), and DeviceInfo().


The documentation for this class was generated from the following file: