Kaynağa Gözat

Fix gemm_cost prototype

Samuel Thibault 13 yıl önce
ebeveyn
işleme
dd64580713
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 2 2
      examples/common/blas_model.c
  2. 2 2
      examples/common/blas_model.h

+ 2 - 2
examples/common/blas_model.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2009, 2010-2011  Université de Bordeaux 1
+ * Copyright (C) 2009-2012  Université de Bordeaux 1
  * Copyright (C) 2010  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -27,7 +27,7 @@
  *	Number of flops of Gemm 
  */
 
-double gemm_cost(struct starpu_task *task)
+double gemm_cost(struct starpu_task *task, unsigned nimpl)
 {
 	/* C = A * B */
 	uint32_t nxC, nyC, nxA;

+ 2 - 2
examples/common/blas_model.h

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2009, 2010-2011  Université de Bordeaux 1
+ * Copyright (C) 2009-2012  Université de Bordeaux 1
  * Copyright (C) 2010, 2011  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -20,7 +20,7 @@
 
 #include <starpu.h>
 
-double gemm_cost(struct starpu_buffer_descr *descr);
+double gemm_cost(struct starpu_buffer_descr *descr, unsigned nimpl);
 
 static struct starpu_perfmodel starpu_sgemm_model =
 {