Browse Source

Fix starpu_data_set_coordinates call

Samuel Thibault 8 years ago
parent
commit
fd82538e0a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/cholesky/cholesky_tile_tag.c

+ 1 - 1
examples/cholesky/cholesky_tile_tag.c

@@ -291,7 +291,7 @@ int main(int argc, char **argv)
 		{
 		{
 			starpu_matrix_data_register(&A_state[y][x], STARPU_MAIN_RAM, (uintptr_t)A[y][x],
 			starpu_matrix_data_register(&A_state[y][x], STARPU_MAIN_RAM, (uintptr_t)A[y][x],
 						    BLOCKSIZE, BLOCKSIZE, BLOCKSIZE, sizeof(float));
 						    BLOCKSIZE, BLOCKSIZE, BLOCKSIZE, sizeof(float));
-			starpu_data_set_coordinates(A_state[y][x], x, y);
+			starpu_data_set_coordinates(A_state[y][x], 2, x, y);
 		}
 		}
 	}
 	}