Cleanup: remove internal functions from interface.
This commit is contained in:
parent
9fb5559a0f
commit
19da44f869
|
@ -74,7 +74,7 @@ static struct {
|
|||
} g_work_scheduler;
|
||||
|
||||
#if COM_CURRENT_THREADING_MODEL == COM_TM_QUEUE
|
||||
void *WorkScheduler::thread_execute_cpu(void *data)
|
||||
static void *thread_execute_cpu(void *data)
|
||||
{
|
||||
CPUDevice *device = (CPUDevice *)data;
|
||||
WorkPackage *work;
|
||||
|
@ -87,7 +87,7 @@ void *WorkScheduler::thread_execute_cpu(void *data)
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
void *WorkScheduler::thread_execute_gpu(void *data)
|
||||
static void *thread_execute_gpu(void *data)
|
||||
{
|
||||
Device *device = (Device *)data;
|
||||
WorkPackage *work;
|
||||
|
|
|
@ -28,21 +28,6 @@
|
|||
* \ingroup execution
|
||||
*/
|
||||
struct WorkScheduler {
|
||||
|
||||
#if COM_CURRENT_THREADING_MODEL == COM_TM_QUEUE
|
||||
/**
|
||||
* \brief main thread loop for cpudevices
|
||||
* inside this loop new work is queried and being executed
|
||||
*/
|
||||
static void *thread_execute_cpu(void *data);
|
||||
|
||||
/**
|
||||
* \brief main thread loop for gpudevices
|
||||
* inside this loop new work is queried and being executed
|
||||
*/
|
||||
static void *thread_execute_gpu(void *data);
|
||||
#endif
|
||||
public:
|
||||
/**
|
||||
* \brief schedule a chunk of a group to be calculated.
|
||||
* An execution group schedules a chunk in the WorkScheduler
|
||||
|
|
Loading…
Reference in New Issue