Skip to content
Snippets Groups Projects
  1. Dec 12, 2019
  2. Dec 11, 2019
  3. Dec 03, 2019
  4. Nov 16, 2019
    • Pekka Jääskeläinen's avatar
      clGetPlatformIDs return value fix · 8d618fec
      Pekka Jääskeläinen authored
      It should return CL_SUCCESS in case num_platforms == NULL && num_entries
      == 0.  At least Glow checks for availability of OpenCL (in general)
      using these parameters.
      
      Specs say:
      "If platforms is not NULL, the num_entries must be greater than zero."
      8d618fec
  5. Oct 19, 2019
    • Pekka Jääskeläinen's avatar
    • 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
  6. Oct 18, 2019
  7. Oct 16, 2019
  8. Oct 15, 2019
  9. Oct 14, 2019
  10. Oct 12, 2019
  11. Sep 25, 2019
  12. Sep 24, 2019
Loading