Bläddra i källkod

Explicit difference between compare and alloc_compare methods

Samuel Thibault 5 år sedan
förälder
incheckning
a8e85810f2

+ 2 - 2
src/datawizard/interfaces/matrix_interface.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2008-2019                                Université de Bordeaux
+ * Copyright (C) 2008-2020                                Université de Bordeaux
  * Copyright (C) 2011,2012,2017                           Inria
  * Copyright (C) 2010-2017,2019                           CNRS
  *
@@ -247,7 +247,7 @@ static int matrix_alloc_compare(void *data_interface_a, void *data_interface_b)
 	struct starpu_matrix_interface *matrix_a = (struct starpu_matrix_interface *) data_interface_a;
 	struct starpu_matrix_interface *matrix_b = (struct starpu_matrix_interface *) data_interface_b;
 
-	/* Two matricess are considered compatible if they have the same size */
+	/* Two matricess are considered allocation-compatible if they have the same size */
 	return (matrix_a->allocsize == matrix_b->allocsize);
 }
 

+ 2 - 2
src/datawizard/interfaces/vector_interface.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2008-2019                                Université de Bordeaux
+ * Copyright (C) 2008-2020                                Université de Bordeaux
  * Copyright (C) 2011,2012,2014,2017                      Inria
  * Copyright (C) 2010-2015,2017,2019                      CNRS
  *
@@ -188,7 +188,7 @@ static int vector_alloc_compare(void *data_interface_a, void *data_interface_b)
 	struct starpu_vector_interface *vector_a = (struct starpu_vector_interface *) data_interface_a;
 	struct starpu_vector_interface *vector_b = (struct starpu_vector_interface *) data_interface_b;
 
-	/* Two vectors are considered compatible if they have the same size */
+	/* Two vectors are considered allocation-compatible if they have the same size */
 	return (vector_a->allocsize == vector_b->allocsize);
 }