Explorar el Código

examples/cholesky/cholesky_tag.c: Remove the "pinned" argument of cholesky().

It is no longer needed, since cholesky() does not free its arguments itself any more.
Cyril Roelandt hace 13 años
padre
commit
8d54204ab7
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      examples/cholesky/cholesky_tag.c

+ 2 - 2
examples/cholesky/cholesky_tag.c

@@ -265,7 +265,7 @@ static int initialize_system(float **A, unsigned dim, unsigned pinned)
 	return 0;
 }
 
-static void cholesky(float *matA, unsigned size, unsigned ld, unsigned nblocks, unsigned pinned)
+static void cholesky(float *matA, unsigned size, unsigned ld, unsigned nblocks)
 {
 	starpu_data_handle_t dataA;
 
@@ -354,7 +354,7 @@ int main(int argc, char **argv)
 #endif
 
 
-	cholesky(mat, size, size, nblocks, pinned);
+	cholesky(mat, size, size, nblocks);
 
 #ifdef CHECK_OUTPUT
 	FPRINTF(stdout, "Results :\n");