| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 | 
							- /* StarPU --- Runtime system for heterogeneous multicore architectures.
 
-  *
 
-  * Copyright (C) 2008-2011,2014                           Université de Bordeaux
 
-  * Copyright (C) 2010,2013,2015,2017                      CNRS
 
-  * Copyright (C) 2013                                     Thibaut Lambert
 
-  *
 
-  * 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 __LU_KERNELS_MODEL_H__
 
- #define __LU_KERNELS_MODEL_H__
 
- #include <starpu.h>
 
- double task_11_cost(struct starpu_task *task, unsigned nimpl);
 
- double task_12_cost(struct starpu_task *task, unsigned nimpl);
 
- double task_21_cost(struct starpu_task *task, unsigned nimpl);
 
- double task_22_cost(struct starpu_task *task, unsigned nimpl);
 
- double task_11_cost_cuda(struct starpu_task *task, struct starpu_perfmodel_arch* arch, unsigned nimpl);
 
- double task_12_cost_cuda(struct starpu_task *task, struct starpu_perfmodel_arch* arch, unsigned nimpl);
 
- double task_21_cost_cuda(struct starpu_task *task, struct starpu_perfmodel_arch* arch, unsigned nimpl);
 
- double task_22_cost_cuda(struct starpu_task *task, struct starpu_perfmodel_arch* arch, unsigned nimpl);
 
- double task_11_cost_cpu(struct starpu_task *task, struct starpu_perfmodel_arch* arch, unsigned nimpl);
 
- double task_12_cost_cpu(struct starpu_task *task, struct starpu_perfmodel_arch* arch, unsigned nimpl);
 
- double task_21_cost_cpu(struct starpu_task *task, struct starpu_perfmodel_arch* arch, unsigned nimpl);
 
- double task_22_cost_cpu(struct starpu_task *task, struct starpu_perfmodel_arch* arch, unsigned nimpl);
 
- void initialize_lu_kernels_model(struct starpu_perfmodel* model, char * symbol, 
 
- 		double (*cost_function)(struct starpu_task *, unsigned), 
 
- 		double (*cpu_cost_function)(struct starpu_task *, struct starpu_perfmodel_arch*, unsigned), 
 
- 		double (*cuda_cost_function)(struct starpu_task *, struct starpu_perfmodel_arch*, unsigned));
 
- #endif /* __LU_KERNELS_MODEL_H__ */
 
 
  |