|
@@ -1,7 +1,7 @@
|
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
*
|
|
|
* Copyright (C) 2009, 2010, 2014-2015 Université de Bordeaux
|
|
|
- * Copyright (C) 2010, 2011, 2012, 2013 CNRS
|
|
|
+ * Copyright (C) 2010, 2011, 2012, 2013, 2016 CNRS
|
|
|
*
|
|
|
* 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
|
|
@@ -52,7 +52,7 @@ int main(int argc, char **argv)
|
|
|
return STARPU_TEST_SKIPPED;
|
|
|
}
|
|
|
|
|
|
- tab = malloc(SIZE*sizeof(float));
|
|
|
+ tab = calloc(SIZE, sizeof(float));
|
|
|
|
|
|
starpu_vector_data_register(&tab_handle, STARPU_MAIN_RAM, (uintptr_t)tab, SIZE, sizeof(float));
|
|
|
|