diff options
Diffstat (limited to 'source/blender/compositor/intern/COM_WorkScheduler.h')
-rw-r--r-- | source/blender/compositor/intern/COM_WorkScheduler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/compositor/intern/COM_WorkScheduler.h b/source/blender/compositor/intern/COM_WorkScheduler.h index 71c5f859418..67d3fc87ce1 100644 --- a/source/blender/compositor/intern/COM_WorkScheduler.h +++ b/source/blender/compositor/intern/COM_WorkScheduler.h @@ -59,7 +59,7 @@ public: * @brief schedule a chunk of a group to be calculated. * An execution group schedules a chunk in the WorkScheduler * when ExecutionGroup.isOpenCL is set the work will be handled by a OpenCLDevice - * otherwide the work is scheduled for an CPUDevice + * otherwise the work is scheduled for an CPUDevice * @see ExecutionGroup.execute * @param group the execution group * @param chunkNumber the number of the chunk in the group to be executed @@ -113,6 +113,8 @@ public: */ static bool hasGPUDevices(); + static int current_thread_id(); + #ifdef WITH_CXX_GUARDEDALLOC MEM_CXX_CLASS_ALLOC_FUNCS("COM:WorkScheduler") #endif |