Blender V5.0
device.cpp File Reference
#include "device/optix/device.h"
#include "device/cuda/device.h"
#include "device/device.h"
#include "util/log.h"

Go to the source code of this file.

Macros

#define OPTIX_FUNCTION_TABLE_SYMBOL   g_optixFunctionTable

Functions

CCL_NAMESPACE_BEGIN bool device_optix_init ()
void device_optix_info (const vector< DeviceInfo > &cuda_devices, vector< DeviceInfo > &devices)
unique_ptr< Devicedevice_optix_create (const DeviceInfo &info, Stats &stats, Profiler &profiler, bool headless)

Macro Definition Documentation

◆ OPTIX_FUNCTION_TABLE_SYMBOL

#define OPTIX_FUNCTION_TABLE_SYMBOL   g_optixFunctionTable

Definition at line 26 of file device/optix/device.cpp.

Referenced by device_optix_init().

Function Documentation

◆ device_optix_create()

unique_ptr< Device > device_optix_create ( const DeviceInfo & info,
Stats & stats,
Profiler & profiler,
bool headless )

Definition at line 104 of file device/optix/device.cpp.

References LOG_FATAL.

Referenced by Device::create().

◆ device_optix_info()

void device_optix_info ( const vector< DeviceInfo > & cuda_devices,
vector< DeviceInfo > & devices )

◆ device_optix_init()

CCL_NAMESPACE_BEGIN bool device_optix_init ( )