Iray SDK API nvidia_logo_transpbg.gif Up
ischeduling_configuration.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2026 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
84 virtual Sint32 set_accept_delegations( bool value) = 0;
85
95 virtual bool get_accept_delegations() const = 0;
96
110 virtual Sint32 set_work_delegation_enabled( bool value) = 0;
111
121 virtual bool get_work_delegation_enabled() const = 0;
122
141 virtual Sint32 set_gpu_work_delegation_enabled( bool value) = 0;
142
156 virtual bool get_gpu_work_delegation_enabled() const = 0;
157
179 virtual Sint32 set_thread_affinity_enabled( bool value) = 0;
180
184 virtual bool get_thread_affinity_enabled() const = 0;
185};
186 // end group mi_neuray_configuration
188
189} // namespace neuraylib
190
191} // namespace mi
192
193#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.
int Sint32
32-bit signed integer.
Definition: types.h:46
float Float32
32-bit float.
Definition: types.h:51
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179