Blender V2.61 - r43446
Classes | Functions

device_multi.cpp File Reference

#include <stdlib.h>
#include <sstream>
#include "device.h"
#include "device_intern.h"
#include "device_network.h"
#include "util_foreach.h"
#include "util_list.h"
#include "util_map.h"
#include "util_time.h"

Go to the source code of this file.

Classes

class  MultiDevice

Functions

Devicedevice_multi_create (DeviceInfo &info, bool background)
static void device_multi_add (vector< DeviceInfo > &devices, DeviceType type, bool with_display, const char *id_fmt, int num)
void device_multi_info (vector< DeviceInfo > &devices)

Function Documentation

static void device_multi_add ( vector< DeviceInfo > &  devices,
DeviceType  type,
bool  with_display,
const char *  id_fmt,
int  num 
) [static]
Device* device_multi_create ( DeviceInfo info,
bool  background 
)

Definition at line 333 of file device_multi.cpp.

Referenced by Device::create().

void device_multi_info ( vector< DeviceInfo > &  devices)

Definition at line 427 of file device_multi.cpp.

References DEVICE_CUDA, device_multi_add(), and DEVICE_OPENCL.

Referenced by Device::available_devices().