Loading...
Searching...
No Matches
task_bundle.h
Go to the documentation of this file.
/* StarPU --- Runtime system for heterogeneous multicore architectures.
*
* Copyright (C) 2009-2023 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 __CORE_TASK_BUNDLE_H__
#define __CORE_TASK_BUNDLE_H__
#include <starpu_thread.h>
#pragma GCC visibility push(hidden)
struct _starpu_task_bundle_entry
{
struct starpu_task *task;
struct _starpu_task_bundle_entry *next;
};
struct _starpu_task_bundle
{
starpu_pthread_mutex_t mutex;
struct _starpu_task_bundle_entry *list;
int closed;
};
struct _starpu_handle_list
{
starpu_data_handle_t handle;
enum starpu_data_access_mode mode;
struct _starpu_handle_list *next;
};
void _starpu_task_bundle_destroy(starpu_task_bundle_t bundle);
void _starpu_insertion_handle_sorted(struct _starpu_handle_list **listp, starpu_data_handle_t handle, enum starpu_data_access_mode mode);
#pragma GCC visibility pop
#endif // __CORE_TASK_BUNDLE_H__
_starpu_task_bundle_destroy
void _starpu_task_bundle_destroy(starpu_task_bundle_t bundle)
_starpu_insertion_handle_sorted
void _starpu_insertion_handle_sorted(struct _starpu_handle_list **listp, starpu_data_handle_t handle, enum starpu_data_access_mode mode)
_starpu_task_bundle::mutex
starpu_pthread_mutex_t mutex
Definition task_bundle.h:68
_starpu_handle_list
Definition task_bundle.h:93
_starpu_task_bundle
Definition task_bundle.h:66
_starpu_task_bundle_entry
Definition task_bundle.h:40