|
@@ -2,7 +2,7 @@
|
|
|
*
|
|
|
* Copyright (C) 2011-2017 Inria
|
|
|
* Copyright (C) 2017 Erwan Leria
|
|
|
- * Copyright (C) 2009-2017 Université de Bordeaux
|
|
|
+ * Copyright (C) 2009-2018 Université de Bordeaux
|
|
|
* Copyright (C) 2010-2017 CNRS
|
|
|
* Copyright (C) 2011 Télécom-SudParis
|
|
|
* Copyright (C) 2016 Uppsala University
|
|
@@ -591,7 +591,7 @@ static int _starpu_task_submit_head(struct starpu_task *task)
|
|
|
/* Make sure handles are not partitioned */
|
|
|
STARPU_ASSERT_MSG(handle->nchildren == 0, "only unpartitioned data (or the pieces of a partitioned data) can be used in a task");
|
|
|
/* Make sure the specified node exists */
|
|
|
- STARPU_ASSERT_MSG(node == -1 || (node >= 0 && node < starpu_memory_nodes_get_count()), "The codelet-specified memory node does not exist");
|
|
|
+ STARPU_ASSERT_MSG(node == -1 || (node >= 0 && node < (int) starpu_memory_nodes_get_count()), "The codelet-specified memory node does not exist");
|
|
|
/* Provide the home interface for now if any,
|
|
|
* for can_execute hooks */
|
|
|
if (handle->home_node != -1)
|