Blender  V2.93
Classes | Macros | Enumerations | Functions
device.h File Reference
#include <stdlib.h>
#include "bvh/bvh_params.h"
#include "device/device_memory.h"
#include "device/device_task.h"
#include "util/util_list.h"
#include "util/util_stats.h"
#include "util/util_string.h"
#include "util/util_texture.h"
#include "util/util_thread.h"
#include "util/util_types.h"
#include "util/util_vector.h"

Go to the source code of this file.

Classes

class  DeviceInfo
 
class  DeviceRequestedFeatures
 
struct  DeviceDrawParams
 
class  Device
 

Macros

#define DEVICE_MASK(type)   (DeviceTypeMask)(1 << type)
 

Enumerations

enum  DeviceType {
  DEVICE_NONE = 0 , DEVICE_CPU , DEVICE_OPENCL , DEVICE_CUDA ,
  DEVICE_NETWORK , DEVICE_MULTI , DEVICE_OPTIX , DEVICE_DUMMY
}
 
enum  DeviceTypeMask {
  DEVICE_MASK_CPU = (1 << DEVICE_CPU) , DEVICE_MASK_OPENCL = (1 << DEVICE_OPENCL) , DEVICE_MASK_CUDA = (1 << DEVICE_CUDA) , DEVICE_MASK_OPTIX = (1 << DEVICE_OPTIX) ,
  DEVICE_MASK_NETWORK = (1 << DEVICE_NETWORK) , DEVICE_MASK_ALL = ~0
}
 
enum  DeviceKernelStatus { DEVICE_KERNEL_FEATURE_KERNEL_AVAILABLE , DEVICE_KERNEL_USING_FEATURE_KERNEL , DEVICE_KERNEL_FEATURE_KERNEL_INVALID , DEVICE_KERNEL_UNKNOWN }
 

Functions

std::ostream & operator<< (std::ostream &os, const DeviceRequestedFeatures &requested_features)
 

Macro Definition Documentation

◆ DEVICE_MASK

#define DEVICE_MASK (   type)    (DeviceTypeMask)(1 << type)

Definition at line 70 of file device.h.

Enumeration Type Documentation

◆ DeviceKernelStatus

Enumerator
DEVICE_KERNEL_FEATURE_KERNEL_AVAILABLE 
DEVICE_KERNEL_USING_FEATURE_KERNEL 
DEVICE_KERNEL_FEATURE_KERNEL_INVALID 
DEVICE_KERNEL_UNKNOWN 

Definition at line 63 of file device.h.

◆ DeviceType

enum DeviceType
Enumerator
DEVICE_NONE 
DEVICE_CPU 
DEVICE_OPENCL 
DEVICE_CUDA 
DEVICE_NETWORK 
DEVICE_MULTI 
DEVICE_OPTIX 
DEVICE_DUMMY 

Definition at line 43 of file device.h.

◆ DeviceTypeMask

Enumerator
DEVICE_MASK_CPU 
DEVICE_MASK_OPENCL 
DEVICE_MASK_CUDA 
DEVICE_MASK_OPTIX 
DEVICE_MASK_NETWORK 
DEVICE_MASK_ALL 

Definition at line 54 of file device.h.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const DeviceRequestedFeatures requested_features 
)