scaling-vector-example.texi 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. @c -*-texinfo-*-
  2. @c This file is part of the StarPU Handbook.
  3. @c Copyright (C) 2009--2011 Universit@'e de Bordeaux 1
  4. @c Copyright (C) 2010, 2011 Centre National de la Recherche Scientifique
  5. @c Copyright (C) 2011 Institut National de Recherche en Informatique et Automatique
  6. @c See the file starpu.texi for copying conditions.
  7. @node Full source code for the 'Scaling a Vector' example
  8. @appendix Full source code for the 'Scaling a Vector' example
  9. @menu
  10. * Main application::
  11. * CPU Kernel::
  12. * CUDA Kernel::
  13. * OpenCL Kernel::
  14. @end menu
  15. @node Main application
  16. @section Main application
  17. @include chapters/vector_scal_c.texi
  18. @node CPU Kernel
  19. @section CPU Kernel
  20. @include chapters/vector_scal_cpu.texi
  21. @node CUDA Kernel
  22. @section CUDA Kernel
  23. @include chapters/vector_scal_cuda.texi
  24. @node OpenCL Kernel
  25. @section OpenCL Kernel
  26. @menu
  27. * Invoking the kernel::
  28. * Source of the kernel::
  29. @end menu
  30. @node Invoking the kernel
  31. @subsection Invoking the kernel
  32. @include chapters/vector_scal_opencl.texi
  33. @node Source of the kernel
  34. @subsection Source of the kernel
  35. @include chapters/vector_scal_opencl_codelet.texi