Blender  V2.93
Public Member Functions | Public Attributes | List of all members
DeviceInfo Class Reference

#include <device.h>

Public Member Functions

 DeviceInfo ()
 
bool operator== (const DeviceInfo &info)
 
void add_denoising_devices (DenoiserType denoiser_type)
 

Public Attributes

DeviceType type
 
string description
 
string id
 
int num
 
bool display_device
 
bool has_half_images
 
bool has_nanovdb
 
bool has_volume_decoupled
 
bool has_branched_path
 
bool has_adaptive_stop_per_sample
 
bool has_osl
 
bool use_split_kernel
 
bool has_profiling
 
bool has_peer_memory
 
DenoiserTypeMask denoisers
 
int cpu_threads
 
vector< DeviceInfomulti_devices
 
vector< DeviceInfodenoising_devices
 
string error_msg
 

Detailed Description

Definition at line 72 of file device.h.

Constructor & Destructor Documentation

◆ DeviceInfo()

DeviceInfo::DeviceInfo ( )
inline

Member Function Documentation

◆ add_denoising_devices()

void DeviceInfo::add_denoising_devices ( DenoiserType  denoiser_type)

◆ operator==()

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

Definition at line 113 of file device.h.

References description, id, num, and type.

Member Data Documentation

◆ cpu_threads

int DeviceInfo::cpu_threads

◆ denoisers

DenoiserTypeMask DeviceInfo::denoisers

◆ denoising_devices

vector<DeviceInfo> DeviceInfo::denoising_devices

Definition at line 91 of file device.h.

Referenced by add_denoising_devices(), and MultiDevice::MultiDevice().

◆ description

string DeviceInfo::description

◆ display_device

bool DeviceInfo::display_device

Definition at line 78 of file device.h.

Referenced by DeviceInfo(), main(), and options_parse().

◆ error_msg

string DeviceInfo::error_msg

Definition at line 92 of file device.h.

Referenced by Device::dummy_device(), and DummyDevice::DummyDevice().

◆ has_adaptive_stop_per_sample

bool DeviceInfo::has_adaptive_stop_per_sample

Definition at line 83 of file device.h.

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

◆ has_branched_path

bool DeviceInfo::has_branched_path

Definition at line 82 of file device.h.

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

◆ has_half_images

bool DeviceInfo::has_half_images

◆ has_nanovdb

bool DeviceInfo::has_nanovdb

◆ has_osl

bool DeviceInfo::has_osl

Definition at line 84 of file device.h.

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

◆ has_peer_memory

bool DeviceInfo::has_peer_memory

◆ has_profiling

bool DeviceInfo::has_profiling

Definition at line 86 of file device.h.

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

◆ has_volume_decoupled

bool DeviceInfo::has_volume_decoupled

◆ id

string DeviceInfo::id

◆ multi_devices

vector<DeviceInfo> DeviceInfo::multi_devices

◆ num

int DeviceInfo::num

◆ type

DeviceType DeviceInfo::type

◆ use_split_kernel

bool DeviceInfo::use_split_kernel

Definition at line 85 of file device.h.

Referenced by DeviceInfo().


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