@@ -3,6 +3,7 @@
// * Copyright (C) 2009--2011 Universit@'e de Bordeaux
* Copyright (C) 2010, 2011, 2012, 2013, 2016 CNRS
* Copyright (C) 2011, 2012 INRIA
+ * Copyright (C) 2016 Uppsala University
* See the file version.doxy for copying conditions.
*/
* Copyright (C) 2009--2011 Universit@'e de Bordeaux
* Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016 CNRS
* Copyright (C) 2011, 2012, 2016 INRIA
* Copyright (C) 2010, 2011, 2012, 2013, 2014, 2016 CNRS
@@ -5,6 +5,7 @@
# Copyright (C) 2011 Télécom-SudParis
# Copyright (C) 2011-2012 INRIA
# Copyright (C) 2015-2016 Inria
+# Copyright (C) 2016 Uppsala University
#
# 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
@@ -1,3 +1,24 @@
+/* StarPU --- Runtime system for heterogeneous multicore architectures.
+ *
+ * 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
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
+ * StarPU is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License in COPYING.LGPL for more details.
+ */
+
+/*
+ * This creates two dumb vectors, splits them into chunks, and for each pair of
+ * chunk, run axpy on them.
#include <starpu.h>
#include "axpy_partition_gpu.h"
#include <stdio.h>
#pragma once
@@ -1,8 +1,6 @@
/* StarPU --- Runtime system for heterogeneous multicore architectures.
*
- * Copyright (C) 2009-2015 Université de Bordeaux
- * Copyright (C) 2010 Mehdi Juhoor <mjuhoor@gmail.com>
- * Copyright (C) 2010, 2011, 2012, 2013, 2015 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
@@ -17,8 +15,8 @@
/*
- * This creates two dumb vectors, splits them into chunks, and for each pair of
- * chunk, run axpy on them.
+ * This creates two dumb vectors & run axpy on them.
+ * You have to set STARPU_NWORKER_PER_CUDA=2
@@ -1,6 +1,7 @@
* Copyright (C) 2010 - 2012 INRIA
@@ -2,6 +2,7 @@
* Copyright (C) 2010-2016 Université de Bordeaux
* Copyright (C) 2011 Télécom-SudParis
@@ -4,6 +4,7 @@
* Copyright (C) 2010, 2011, 2012, 2013, 2014 CNRS
* Copyright (C) 2011, 2014 INRIA
* Copyright (C) 2009-2013, 2016 Université de Bordeaux
* Copyright (C) 2010-2014 CNRS
* Copyright (C) 2016 Inria
* Copyright (C) 2011, 2013 INRIA
* Copyright (C) 2010-2016 CNRS
* Copyright (C) 2011, 2016 INRIA
* Copyright (C) 2011, 2014, 2016 INRIA
* Copyright (C) 2009-2016 Université de Bordeaux
* Copyright (C) 2010, 2011 INRIA
* Copyright (C) 2011-2012, 2016 INRIA
* Copyright (C) 2011 INRIA
* Copyright (C) 2010 Mehdi Juhoor <mjuhoor@gmail.com>
* Copyright (C) 2010, 2011, 2012, 2013, 2015, 2016 CNRS
* Copyright (C) 2010-2013, 2016 CNRS
* Copyright (C) 2010, 2011, 2013, 2016 CNRS
* Copyright (C) 2010-2013, 2016 Université de Bordeaux
* Copyright (C) 2015 INRIA
* Copyright (C) 2016 CNRS