VRay SDK for C++
|
Used for GPU device selection by VRayRenderer::getComputeDevicesCurrentEngine() & co. More...
#include <vraysdk.hpp>
Public Types | |
enum | Type { deviceType_default = (1 << 0) , deviceType_CPU = (1 << 1) , deviceType_GPU = (1 << 2) , deviceType_ACCEL = (1 << 3) } |
Public Attributes | |
struct { | |
int isSupported | |
Is device supported. | |
int useForDenoising | |
Device is used for denoising. | |
int useForRendering | |
Device is used for rendering. | |
}; | |
Device type. | |
int | busId |
Bus ID. | |
int | ccMajor |
CUDA Compute Capability Major version number. | |
int | ccMinor |
CUDA Compute Capability Minor version number. | |
int | cudaOrdinalIndex |
Cuda ordinal index. | |
long long | deviceHandle |
Device handle. | |
Type | deviceType |
Device type. | |
int | frequencyMHz |
Base clock frequency or -1 if not available. | |
int | gFlops |
Theoretical GFLOPS. 0 or -1 if not available. | |
int | isCpuEmulation |
Is device CPU emulated. | |
int | localIndex |
Local index. | |
std::string | name |
Non-unique displayable name. Device index is its unique identifier. More... | |
int | numConnectedDisplays |
Number of displays (monitors) attached to this device. -1 if this information is unavailable. | |
long long | platform |
Platform. | |
int | rtCoreVersion |
The version of the raytracing cores (if supported). 0 if the GPU does not support RT Cores. | |
int | shaderProcessorsCount |
Shader processors count. | |
int | tccMode |
TCC mode. | |
int | totalMemoryMB |
MegaBytes. | |
Used for GPU device selection by VRayRenderer::getComputeDevicesCurrentEngine() & co.
std::string VRay::ComputeDeviceInfo::name |
Non-unique displayable name. Device index is its unique identifier.
"Pick state"