|
Blender V4.3
|
#include <stdlib.h>#include "bvh/params.h"#include "device/denoise.h"#include "device/memory.h"#include "util/function.h"#include "util/list.h"#include "util/log.h"#include "util/stats.h"#include "util/string.h"#include "util/texture.h"#include "util/thread.h"#include "util/types.h"#include "util/unique_ptr.h"#include "util/vector.h"Go to the source code of this file.
Classes | |
| class | DeviceInfo |
| class | Device |
| class | GPUDevice |
| struct | GPUDevice::Mem |
Macros | |
| #define | DEVICE_MASK(type) (DeviceTypeMask)(1 << type) |
Enumerations | |
| enum | DeviceType { DEVICE_NONE = 0 , DEVICE_CPU , DEVICE_CUDA , DEVICE_MULTI , DEVICE_OPTIX , DEVICE_HIP , DEVICE_HIPRT , DEVICE_METAL , DEVICE_ONEAPI , DEVICE_DUMMY } |
| enum | DeviceTypeMask { DEVICE_MASK_CPU = (1 << DEVICE_CPU) , DEVICE_MASK_CUDA = (1 << DEVICE_CUDA) , DEVICE_MASK_OPTIX = (1 << DEVICE_OPTIX) , DEVICE_MASK_HIP = (1 << DEVICE_HIP) , DEVICE_MASK_METAL = (1 << DEVICE_METAL) , DEVICE_MASK_ONEAPI = (1 << DEVICE_ONEAPI) , DEVICE_MASK_ALL = ~0 } |
| enum | KernelOptimizationLevel { KERNEL_OPTIMIZATION_LEVEL_OFF = 0 , KERNEL_OPTIMIZATION_LEVEL_INTERSECT = 1 , KERNEL_OPTIMIZATION_LEVEL_FULL = 2 , KERNEL_OPTIMIZATION_NUM_LEVELS } |
| enum | MetalRTSetting { METALRT_OFF = 0 , METALRT_ON = 1 , METALRT_AUTO = 2 , METALRT_NUM_SETTINGS } |
| #define DEVICE_MASK | ( | type | ) | (DeviceTypeMask)(1 << type) |
Definition at line 60 of file device/device.h.
Referenced by available_devices_func(), and options_parse().
| enum DeviceType |
| Enumerator | |
|---|---|
| DEVICE_NONE | |
| DEVICE_CPU | |
| DEVICE_CUDA | |
| DEVICE_MULTI | |
| DEVICE_OPTIX | |
| DEVICE_HIP | |
| DEVICE_HIPRT | |
| DEVICE_METAL | |
| DEVICE_ONEAPI | |
| DEVICE_DUMMY | |
Definition at line 37 of file device/device.h.
| enum DeviceTypeMask |
| Enumerator | |
|---|---|
| DEVICE_MASK_CPU | |
| DEVICE_MASK_CUDA | |
| DEVICE_MASK_OPTIX | |
| DEVICE_MASK_HIP | |
| DEVICE_MASK_METAL | |
| DEVICE_MASK_ONEAPI | |
| DEVICE_MASK_ALL | |
Definition at line 50 of file device/device.h.
| Enumerator | |
|---|---|
| KERNEL_OPTIMIZATION_LEVEL_OFF | |
| KERNEL_OPTIMIZATION_LEVEL_INTERSECT | |
| KERNEL_OPTIMIZATION_LEVEL_FULL | |
| KERNEL_OPTIMIZATION_NUM_LEVELS | |
Definition at line 62 of file device/device.h.
| enum MetalRTSetting |
| Enumerator | |
|---|---|
| METALRT_OFF | |
| METALRT_ON | |
| METALRT_AUTO | |
| METALRT_NUM_SETTINGS | |
Definition at line 70 of file device/device.h.