NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ischeduling_configuration.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // Copyright 1986, 2014 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
6 //*****************************************************************************
7 
8 #ifndef MI_NEURAYLIB_ISCHEDULING_CONFIGURATION_H
9 #define MI_NEURAYLIB_ISCHEDULING_CONFIGURATION_H
10 
12 
13 namespace mi {
14 
15 namespace neuraylib {
16 
21 class IScheduling_configuration : public
23  mi::base::Interface_declare<0x4f1fe336,0x111a,0x44c3,0xb2,0x95,0xa3,0x30,0xf0,0xb6,0xc2,0x05>
24 {
25 public:
36  virtual Sint32 set_cpu_load_limit( Float32 limit) = 0;
37 
39  virtual Float32 get_cpu_load_limit() const = 0;
40 
51  virtual Sint32 set_gpu_load_limit( Float32 limit) = 0;
52 
54  virtual Float32 get_gpu_load_limit() const = 0;
55 
65  virtual Sint32 set_accept_delegations( bool value) = 0;
66 
72  virtual bool get_accept_delegations() const = 0;
73 
83  virtual Sint32 set_work_delegation_enabled( bool value) = 0;
84 
90  virtual bool get_work_delegation_enabled() const = 0;
91 
106  virtual Sint32 set_gpu_work_delegation_enabled( bool value) = 0;
107 
117  virtual bool get_gpu_work_delegation_enabled() const = 0;
118 
140  virtual Sint32 set_thread_affinity_enabled( bool value) = 0;
141 
145  virtual bool get_thread_affinity_enabled() const = 0;
146 };
147  // end group mi_neuray_configuration
149 
150 } // namespace neuraylib
151 
152 } // namespace mi
153 
154 #endif // MI_NEURAYLIB_ISCHEDULING_CONFIGURATION_H