7#ifndef MI_NEURAYLIB_IGPU_DESCRIPTION_H
8#define MI_NEURAYLIB_IGPU_DESCRIPTION_H
26 mi::base::Interface_declare<0x1e2e02ff,0xf083,0x4a12,0xb7,0xda,0x02,0x58,0xb6,0xd0,0x04,0x75>
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
This interface describes a GPU.
Definition: igpu_description.h:27
virtual bool get_tcc_flag() const =0
Indicates whether the GPU is in TCC mode.
virtual Sint64 get_memory_size() const =0
Returns the GPU memory in bytes (or -1 in case of failures).
virtual bool is_attached_to_display() const =0
Indicates whether the GPU is attached to a display.
virtual Sint32 get_pci_bus_id() const =0
Returns the PCI bus ID (or -1 in case of failure).
virtual Sint32 get_multi_processor_count() const =0
Returns the number of multiprocessors, or -1 if the GPU is not a CUDA device.
virtual Sint32 get_cuda_compute_capability_minor() const =0
Returns the CUDA compute capability (minor), or -1 if the GPU is not a CUDA device.
virtual const char * get_name() const =0
Returns the GPU name.
virtual bool get_optimus_flag() const =0
Returns true if the GPU is part of an Optimus/mixed internal+discrete GPU setup (Windows only),...
virtual Sint32 get_cuda_device_id() const =0
Returns the CUDA device ID, or -1 if the GPU is not a CUDA device.
virtual Uint32 get_id() const =0
Returns the GPU ID.
virtual Sint32 get_clock_rate() const =0
Returns the clock rate in kilohertz, or -1 if the GPU is not a CUDA device.
virtual Sint32 get_cuda_compute_capability_major() const =0
Returns the CUDA compute capability (major), or -1 if the GPU is not a CUDA device.
virtual Sint32 get_pci_device_id() const =0
Returns the PCI device ID (or -1 in case of failure).
long long Sint64
64-bit signed integer.
Definition: types.h:61
unsigned int Uint32
32-bit unsigned integer.
Definition: types.h:49
signed int Sint32
32-bit signed integer.
Definition: types.h:46
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: dice.h:89