1. 18 Oct, 2014 6 commits
  2. 17 Oct, 2014 3 commits
  3. 16 Oct, 2014 1 commit
  4. 15 Oct, 2014 1 commit
    • Tom Stellard's avatar
      ocl: Change static variable order in cl_context.cpp to avoid crashes during destruction · 8f3b876e
      Tom Stellard authored
      ContextImpl::currentContext contains a reference to one of the
      DeviceInfoImpl objects from:
      
      static std::vector<DeviceInfoImpl> global_devices;
      
      ContextImpl::currentContext is destroyed in the destructor
      for the statically defined object __module, and relies on its
      DeviceInfoImpl reference to query some hardware features while
      being destroyed.
      
      This means that we need to ensure that the global_devices vector is
      destroyed affter __module, otherwise ContextImpl::currentContext's
      DeviceInfoImpl reference will no longer be valid when __module is
      destroyed.
      
      Since these variables are all confined to a single compilation unit,
      they will be destruct from bottom to top, so we need to make sure
      that __module is the bottom definition so it can be destroyed first.
      8f3b876e
  5. 12 Oct, 2014 2 commits
  6. 11 Oct, 2014 5 commits
  7. 10 Oct, 2014 3 commits
  8. 09 Oct, 2014 6 commits
  9. 08 Oct, 2014 3 commits
  10. 07 Oct, 2014 1 commit
  11. 02 Oct, 2014 6 commits
  12. 01 Oct, 2014 3 commits