DiCE API nvidia_logo_transpbg.gif Up
ischeduling_configuration.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_ISCHEDULING_CONFIGURATION_H
8#define MI_NEURAYLIB_ISCHEDULING_CONFIGURATION_H
9
11
12namespace mi {
13
14namespace neuraylib {
15
22 mi::base::Interface_declare<0x4f1fe336,0x111a,0x44c3,0xb2,0x95,0xa3,0x30,0xf0,0xb6,0xc2,0x05>
23{
24public:
41 virtual Sint32 set_cpu_load_limit( Float32 limit) = 0;
42
46 virtual Float32 get_cpu_load_limit() const = 0;
47
64 virtual Sint32 set_gpu_load_limit( Float32 limit) = 0;
65
69 virtual Float32 get_gpu_load_limit() const = 0;
70
80 virtual Sint32 set_accept_delegations( bool value) = 0;
81
87 virtual bool get_accept_delegations() const = 0;
88
98 virtual Sint32 set_work_delegation_enabled( bool value) = 0;
99
105 virtual bool get_work_delegation_enabled() const = 0;
106
121 virtual Sint32 set_gpu_work_delegation_enabled( bool value) = 0;
122
132 virtual bool get_gpu_work_delegation_enabled() const = 0;
133
155 virtual Sint32 set_thread_affinity_enabled( bool value) = 0;
156
160 virtual bool get_thread_affinity_enabled() const = 0;
161};
162 // end group mi_neuray_configuration
164
165} // namespace neuraylib
166
167} // namespace mi
168
169#endif // MI_NEURAYLIB_ISCHEDULING_CONFIGURATION_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
This interface is used to query and change the scheduling configuration.
Definition: ischeduling_configuration.h:23
virtual bool get_thread_affinity_enabled() const =0
Returns the CPU affinity for threads.
virtual bool get_gpu_work_delegation_enabled() const =0
Returns if GPU work is currently delegated to other hosts.
virtual Float32 get_cpu_load_limit() const =0
Returns the CPU load limit.
virtual Sint32 set_accept_delegations(bool value)=0
Sets if the host accepts delegations from other hosts.
virtual bool get_accept_delegations() const =0
Returns if delegations of work are currently accepted from other hosts.
virtual Float32 get_gpu_load_limit() const =0
Returns the GPU load limit.
virtual Sint32 set_thread_affinity_enabled(bool value)=0
Sets the CPU affinity for threads.
virtual bool get_work_delegation_enabled() const =0
Returns if work is currently delegated to other hosts.
virtual Sint32 set_cpu_load_limit(Float32 limit)=0
Sets the CPU load limit.
virtual Sint32 set_gpu_work_delegation_enabled(bool value)=0
Sets if the host will currently delegate GPU work to other hosts.
virtual Sint32 set_gpu_load_limit(Float32 limit)=0
Sets the GPU load limit.
virtual Sint32 set_work_delegation_enabled(bool value)=0
Sets if the host will currently delegate work to other hosts.
float Float32
32-bit float.
Definition: types.h:51
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