Make starpu_driver_run() work with CPU workers.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6601 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
Fix the build when using FxT on systems other than Linux.

The gettid system call is Linux-specific. It is now only used on Linux.


git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6603 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
rename float.h (and double.h), which conflict with a standard c++ header

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6604 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
rename float.h (and double.h), which conflict with a standard c++ header

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6605 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
rename float.h (and double.h), which conflict with a standard c++ header

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6606 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
socl/src/init.c: partly revert revision 6585
  - override user environment to force STARPU_NCUDA to 0
  - override user environment to force STARPU_NCPUS to 1 if it is set to 0 as socl needs at least 1 CPU device



git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6609 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
socl/src/init.c: revert #6609

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6610 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
Do not load a perfmodel if its field symbol is not set

- src/core/task.c: check value of symbol before loading the model
- doc/chapters/basic-api.texi: document the feature
   (the field is already marked as mandatory when defining the
   structure starpu_perfmodel).



git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6611 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
tests/sched_policies/simple_cpu_gpu_sched.c: define mandatory symbol fields for struct starpu_perfmodel

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6612 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
configure.ac: error when hwloc is not found and the option --without-hwloc was not specified when calling configure, as we do not want users to use StarPU without hwloc without being warned

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6619 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
SOCL: use smaller data set in matmul example

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6633 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
SOCL: minor renaming in matmul example

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6634 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
STARPU-VERSION: add rules which explain how to change numbers

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6635 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
Add a test for the new driver interface.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6639 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
gcc-plugin: completed OpenCL codelet generation.

* gcc-plugin/src/starpu.c (define_opencl_task_implementation): Add trailing
calls to clFinish(), starpu_opencl_collect_stats() and clReleaseEvent().
* gcc-plugin/src/mocks.h (opencl_finish_calls): New static variable.
(opencl_collect_stats_calls): New static variable.
(opencl_release_event_calls): New static variable.
(clFinish): New mock function.
(starpu_opencl_collect_stats): New mock function.
(clReleaseEvent): New mock function.
* gcc-plugin/tests/opencl.c (main): check values of the three new above variables.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6640 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
gcc: Relax the GCC version test.

* gcc-plugin/src/starpu.c (STRINGIFY, STRINGIFY_): New macros.
  (plugin_init)[VERSION_CHECK]: New macro.
  Use it in lieu of `plugin_default_version_check'.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6651 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
Added a new combined_workers test.

Inspired by the bug reported by Usman on combined_workers using OpenMP.
The bug is not fixed yet, even if a hack is available in temp.patch which solves
the problem (and bring new ones ?).


git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6654 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
gcc: Don't run the test suite when Guile is unavailable.

* configure.ac: Remove `HAVE_GUILE' Automake conditional; add
  `RUN_GCC_PLUGIN_TESTS' Automake conditional based on
  $run_gcc_plugin_test_suite.

* gcc-plugin/tests/Makefile.am (TESTS, TESTS_ENVIRONMENT): Make
  conditional on `RUN_GCC_PLUGIN_TESTS' only.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6656 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
gcc: Build a ChangeLog upon `make dist'.

Backport of r6645 and r6646.

* gcc-plugin/Makefile.am (gen-ChangeLog, dist-hook): New targets.
* build-aux/svn2cl.xsl: New file, from svn2cl 0.13 at
  <http://arthurdejong.org/svn2cl/>.
* Makefile.am (EXTRA_DIST): Add `build-aux/svn2cl.xsl'.
* gcc-plugin/ChangeLog: New file.


git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6657 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
Fix list of implementations

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6661 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a