Iray SDK API nvidia_logo_transpbg.gif Up
ihost_properties.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IHOST_PROPERTIES_H
8#define MI_NEURAYLIB_IHOST_PROPERTIES_H
9
11
12namespace mi {
13
14class IString;
15
16namespace neuraylib {
17
25class IHost_properties : public
26 mi::base::Interface_declare<0xac76eb08,0x1c7e,0x43d7,0x9e,0xea,0xec,0x8d,0x9a,0x10,0x23,0x80>
27{
28 public:
34 virtual const IString* get_address() const = 0;
35
37 virtual Size get_amount_of_memory() const = 0;
38
40 virtual Size get_cpu_count() const = 0;
41
43 virtual Size get_siblings_per_cpu() const = 0;
44
46 virtual Size get_gpu_count() const = 0;
47
78 virtual const IString* get_property( const char* key) const = 0;
79
81 virtual Uint32 get_host_id() const = 0;
82};
83 // end group mi_neuray_configuration
85
86} // namespace neuraylib
87
88} // namespace mi
89
90#endif // MI_NEURAYLIB_IHOST_PROPERTIES_H
A simple string class.
Definition: istring.h:22
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
This interface contains information about a local or remote host.
Definition: ihost_properties.h:27
virtual Size get_gpu_count() const =0
Returns the number of GPUs.
virtual Uint32 get_host_id() const =0
Returns the host ID of this host.
virtual Size get_cpu_count() const =0
Returns the number of CPUs.
virtual Size get_amount_of_memory() const =0
Returns the amount of RAM memory in MB.
virtual Size get_siblings_per_cpu() const =0
Returns the number of virtual CPUs in a hyperthreaded CPU.
virtual const IString * get_property(const char *key) const =0
Generic access to properties.
virtual const IString * get_address() const =0
Returns the address of the host described by this property instance.
unsigned int Uint32
32-bit unsigned integer.
Definition: types.h:49
Uint64 Size
Unsigned integral type that is large enough to hold the size of all types.
Definition: types.h:112
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179