|
@@ -1,6 +1,6 @@
|
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
*
|
|
|
- * Copyright (C) 2010, 2012-2015 Université de Bordeaux
|
|
|
+ * Copyright (C) 2010, 2012-2016 Université de Bordeaux
|
|
|
*
|
|
|
* 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
|
|
@@ -262,7 +262,7 @@ void dot_kernel_cpu(void *descr[], void *cl_arg)
|
|
|
|
|
|
unsigned n = STARPU_VECTOR_GET_NX(descr[1]);
|
|
|
|
|
|
- TYPE local_dot = 0.0;
|
|
|
+ TYPE local_dot;
|
|
|
/* Note that we explicitely cast the result of the DOT kernel because
|
|
|
* some BLAS library will return a double for sdot for instance. */
|
|
|
local_dot = (TYPE)DOT(n, v1, 1, v2, 1);
|