| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- /*
- * StarPU
- * Copyright (C) Université Bordeaux 1, CNRS 2008-2010 (see AUTHORS file)
- *
- * This program 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.
- *
- * This program 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 __BOUND_H__
- #define __BOUND_H__
- #include <starpu.h>
- #include <starpu_bound.h>
- #include <core/jobs.h>
- /* Are we recording? */
- extern int _starpu_bound_recording;
- /* Record task for bound computation */
- extern void _starpu_bound_record(starpu_job_t j);
- /* Record tag dependency: id depends on dep_id */
- extern void _starpu_bound_tag_dep(starpu_tag_t id, starpu_tag_t dep_id);
- /* Record task dependency: j depends on dep_j */
- extern void _starpu_bound_task_dep(starpu_job_t j, starpu_job_t dep_j);
- /* Record job id dependency: j depends on job_id */
- extern void _starpu_bound_job_id_dep(starpu_job_t dep_j, unsigned long job_id);
- #endif // __BOUND_H__
|