Loading...
Searching...
No Matches
load_balancer_policy.h
Go to the documentation of this file.
/* StarPU --- Runtime system for heterogeneous multicore architectures.
*
* Copyright (C) 2016-2021 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
*
* StarPU is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at
* your option) any later version.
*
* StarPU is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* See the GNU Lesser General Public License in COPYING.LGPL for more details.
*/
#ifndef __LOAD_BALANCER_POLICY_H__
#define __LOAD_BALANCER_POLICY_H__
#include <starpu_mpi_lb.h>
#ifdef __cplusplus
extern "C"
{
#endif
struct load_balancer_policy
{
int (*init)(struct starpu_mpi_lb_conf *);
int (*deinit)();
void (*submitted_task_entry_point)();
void (*finished_task_entry_point)();
const char *policy_name;
};
extern struct load_balancer_policy load_heat_propagation_policy;
#ifdef __cplusplus
}
#endif
#endif // __LOAD_BALANCER_POLICY_H__
load_balancer_policy
Definition load_balancer_policy.h:35
load_balancer_policy::policy_name
const char * policy_name
Definition load_balancer_policy.h:45