Explorar o código

make really sure we wait the proper number of tags

Samuel Thibault %!s(int64=9) %!d(string=hai) anos
pai
achega
29ae1c9065
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      examples/heat/dw_factolu_grain.c

+ 2 - 2
examples/heat/dw_factolu_grain.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2009, 2010-2011, 2014-2015  Université de Bordeaux
+ * Copyright (C) 2009, 2010-2011, 2014-2016  Université de Bordeaux
  * Copyright (C) 2010  Mehdi Juhoor <mjuhoor@gmail.com>
  * Copyright (C) 2010, 2011, 2012  CNRS
  *
@@ -326,7 +326,7 @@ static void dw_factoLU_grain_inner(float *matA, unsigned size, unsigned inner_si
 			tag_array[ind++] = TAG22(maxk-1, i, j, tag_prefix);
 		}
 
-		starpu_tag_wait_array(ndeps_tags, tag_array);
+		starpu_tag_wait_array(ind, tag_array);
 
 		free(tag_array);