Skip to content
Snippets Groups Projects
  1. Sep 01, 2020
  2. Jul 11, 2020
  3. Jun 16, 2020
  4. Jun 15, 2020
  5. May 19, 2020
  6. Apr 01, 2020
  7. Mar 25, 2020
  8. Dec 12, 2019
  9. Oct 19, 2019
    • Pekka Jääskeläinen's avatar
      Add a minimally intrusive and easy-to-use kernel execution time profiler · 0c3147ce
      Pekka Jääskeläinen authored
      Setting POCL_TRACING=cq collects kernel execution times by force
      enabling the command queue profiling feature, and dumps collected stats
      atexit(). The purpose of this feature is to enable implementation of
      minimally intrusive profile collection; the profile data collector can
      choose the occasions when it gathers the time stamp data from the events.
      The impact to the observed execution profile is minimized by avoiding writing
      any logs, copying objects or such while collecting the data during
      execution.
      
      It relies on the standard event timestamps to enable devices update them
      as (and when) they see fit during the execution.
      
      The drawback is accumulation of cl_object garbage, which should be taken
      in account in the data collection interval; the collector should release the
      events and the extra data objects they hold often enough to avoid
      memory consumption to become a problem.
      
      The current version does not perform garbage collection, but assumes
      the alive OpenCL objects that are kept until the exit is a non-problem,
      which is clearly the case with most of the OpenCL programs which are rather
      simple; not long running, nor launch a lot of commands over their lifetime.
      
      The default profile data collector counts only kernel commands at the moment.
      Collecting stats of data transfers would be a useful addition.
      0c3147ce
  10. Sep 05, 2019
  11. Jul 21, 2019
  12. Jul 10, 2019
  13. May 27, 2019
  14. May 25, 2019
  15. May 16, 2019
  16. May 15, 2019
  17. Apr 04, 2019
  18. Mar 27, 2019
  19. Mar 26, 2019
  20. Feb 12, 2019
  21. Jan 15, 2019
  22. Oct 18, 2018
    • Pekka Jääskeläinen's avatar
      POCL_EXTRA_BUILD_FLAGS env · 476d4f78
      Pekka Jääskeläinen authored
      Implemented a good idea from Michal of a more generally useful
      POCL_EXTRA_BUILD_FLAGS env instead of the debug specific
      POCL_FORCE_KERNEL_DEBUG env.
      476d4f78
  23. Oct 15, 2018
  24. Oct 11, 2018
  25. Oct 05, 2018
    • Pekka Jääskeläinen's avatar
      Fix kernel debug data emission · 9eac2cf0
      Pekka Jääskeläinen authored
      It is now (again) generated with the OpenCL standard build option -g.
      
      Also adds a new env which forcibly adds '-g' to all clBuildProgram()
      command lines (POCL_FORCE_KERNEL_DEBUG=1).
      9eac2cf0
  26. Sep 06, 2018
  27. Aug 24, 2018
  28. Aug 06, 2018
  29. Mar 15, 2018
  30. Mar 09, 2018
Loading