|
@@ -1,7 +1,7 @@
|
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
*
|
|
|
* Copyright (C) 2009-2011, 2013-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
|
|
@@ -113,6 +113,10 @@ int main(int argc, char **argv)
|
|
|
|
|
|
end = starpu_timing_now();
|
|
|
|
|
|
+#ifdef STARPU_USE_OPENCL
|
|
|
+ starpu_opencl_unload_opencl(&opencl_program);
|
|
|
+#endif
|
|
|
+
|
|
|
FPRINTF(stderr, "array -> %f, %f, %f, %f\n", float_array[0],
|
|
|
float_array[1], float_array[2], float_array[3]);
|
|
|
|