Skip to content

Commit

Permalink
Fix build with gcc-15
Browse files Browse the repository at this point in the history
  • Loading branch information
sthibaul committed Feb 17, 2025
1 parent b9c9204 commit 176e18e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mpi/src/load_balancer/policy/load_balancer_policy.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ struct load_balancer_policy
{
int (*init)(struct starpu_mpi_lb_conf *);
int (*deinit)();
void (*submitted_task_entry_point)();
void (*finished_task_entry_point)();
void (*submitted_task_entry_point)(struct starpu_task *task);
void (*finished_task_entry_point)(void);

/** Name of the load balancing policy. The selection of the load balancer is
* performed through the use of the STARPU_MPI_LB=name environment
Expand Down
2 changes: 1 addition & 1 deletion mpi/src/load_balancer/policy/load_heat_propagation.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ static void submitted_task_heat(struct starpu_task *task)
}
}

static void finished_task_heat()
static void finished_task_heat(void)
{
//fprintf(stderr,"Try to decrement nsubmitted_tasks...");
STARPU_PTHREAD_MUTEX_LOCK(&load_data_mutex);
Expand Down

0 comments on commit 176e18e

Please sign in to comment.