SOCL: make sure we do not try to dynamically allocate 0 bytes.

[scan-build] Undefined allocation of 0 bytes x2


git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6702 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
tests/datawizard/lazy_unregister.c: mark test as skipped when no device can execute the task

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6703 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
tests/datawizard/lazy_unregister.c: use usleep instead of sleep, sleep is not available on windows systems

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6704 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
gcc-plugin/tests/opencl-lacking.c: add missing parameter to pragma starpu opencl

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6705 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
Disable pgreedy in the schedulers.sh.

This test often hangs, and anyway the scheduler is still experimental.

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

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6708 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
Add starpu_block_shadow_filter_func_vector, which supports shadow for vector partitioning. Add example/test and documentation.


git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6710 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
gcc: Fix handling of `opencl_include_dirs' on GCC 4.7+.

* gcc-plugin/src/starpu.c (build_variable_from_file_contents): Update to
  expect SEARCH_PATH to be a `TREE_LIST'.  Actually use SEARCH_PATH, not
  OPENCL_INCLUDE_DIRS.  Break out of the SEARCH_PATH loop when FILE is
  found.
  (plugin_init): Build OPENCL_INCLUDE_DIRS as a `TREE_LIST'.  This fixes
  GCC 4.7+ builds where `tree_string' (that is, `STRING_CST' nodes) don't
  have a `tree_common' field (and thus, no `TREE_CHAIN').

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6712 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
gcc: Fix initialization of integer variables in the `opencl' pragma.

* gcc-plugin/src/starpu.c (define_opencl_task_implementation): Convert
  GROUPSIZE to the type of GROUP_SIZE_VAR.  Initialize NGROUPS_VAR with
  a constant with the same type.  This fixes "non-trivial conversion at
  assignment" errors with GCC 4.7.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6713 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
include/starpu_opencl.h: remove trailing whitespaces

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6716 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
doc/chapters/basic-api.texi: fix doc for starpu_opencl_set_kernel_args()

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6717 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
doc/chapters/basic-api.texi: rename 'data library' sections into 'data management' sections

  Thanks to Ludovic Stordeur for suggesting this improvment.



git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6721 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
doc: update references to section which has been renamed

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/trunk@6722 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
BCSR interface: fix the amount of bytes to copy in ram_to_ram().


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