#include <device.h>
Public Member Functions | |
| DeviceDescription () | |
| DeviceDescription (const std::string deviceName, const DeviceType deviceType) | |
| const std::string & | GetName () const |
| const DeviceType | GetType () const |
Static Public Member Functions | |
| static void | FilterOne (std::vector< DeviceDescription * > &deviceDescriptions) |
| static void | Filter (DeviceType type, std::vector< DeviceDescription * > &deviceDescriptions) |
| static std::string | GetDeviceType (const DeviceType type) |
Protected Attributes | |
| std::string | name |
| DeviceType | type |
Definition at line 41 of file device.h.
| luxrays::DeviceDescription::DeviceDescription | ( | const std::string | deviceName, | |
| const DeviceType | deviceType | |||
| ) | [inline] |
| void luxrays::DeviceDescription::Filter | ( | DeviceType | type, | |
| std::vector< DeviceDescription * > & | deviceDescriptions | |||
| ) | [static] |
Definition at line 64 of file device.cpp.
References luxrays::DEVICE_TYPE_ALL.
| void luxrays::DeviceDescription::FilterOne | ( | std::vector< DeviceDescription * > & | deviceDescriptions | ) | [static] |
Definition at line 37 of file device.cpp.
References luxrays::DEVICE_TYPE_NATIVE_THREAD, luxrays::DEVICE_TYPE_OPENCL, and luxrays::OCL_DEVICE_TYPE_GPU.
| std::string luxrays::DeviceDescription::GetDeviceType | ( | const DeviceType | type | ) | [static] |
Definition at line 76 of file device.cpp.
References luxrays::DEVICE_TYPE_ALL, luxrays::DEVICE_TYPE_NATIVE_THREAD, luxrays::DEVICE_TYPE_OPENCL, and luxrays::DEVICE_TYPE_VIRTUAL.
Referenced by luxrays::Context::CreateIntersectionDevices(), and luxrays::Context::CreatePixelDevices().
| const std::string& luxrays::DeviceDescription::GetName | ( | ) | const [inline] |
Definition at line 47 of file device.h.
References name.
Referenced by luxrays::Context::Context(), luxrays::OpenCLIntersectionDevice::OpenCLIntersectionDevice(), and luxrays::OpenCLPixelDevice::OpenCLPixelDevice().
| const DeviceType luxrays::DeviceDescription::GetType | ( | ) | const [inline] |
Definition at line 48 of file device.h.
References type.
Referenced by luxrays::OpenCLDeviceDescription::Filter().
std::string luxrays::DeviceDescription::name [protected] |
DeviceType luxrays::DeviceDescription::type [protected] |
Definition at line 56 of file device.h.
Referenced by luxrays::OpenCLDeviceDescription::AddDeviceDescs(), and GetType().
1.6.3