Cleanup: remove internal functions from interface.

This commit is contained in:
Jeroen Bakker 2021-03-23 12:03:55 +01:00
parent 9fb5559a0f
commit 19da44f869
2 changed files with 2 additions and 17 deletions

View File

@ -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;

View File

@ -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