1. 11 Sep, 2015 1 commit
    • Sujin Philip's avatar
      Fix vtkSMPThreadLocal API · b961d6d7
      Sujin Philip authored
      Makes the constructor accepting the exemplar explicit. Marks the copy-constructor and the assignment operator private to disalow copying.
  2. 26 Aug, 2015 1 commit
  3. 22 Jun, 2015 1 commit
    • Sujin Philip's avatar
      Intel compiler 11.1 template typedef issue · f51d10d3
      Sujin Philip authored
      Intel's 11.1 compiler version is not able to correctly handle the typedef
      inside the template class - BaseType. This is a workaround for that since
      there are some customers using this compiler.
  4. 20 May, 2015 1 commit
    • Sujin Philip's avatar
      Change vtkAtomicInt to vtkAtomic · c342a011
      Sujin Philip authored
      Now that atomic operations are also supported for pointer types, rename vtkAtomicInt to vtkAtomic. Explicit typedefs are done for integer types in vtkAtomicTypes.h.
  5. 07 May, 2015 1 commit
  6. 06 May, 2015 1 commit
    • Sujin Philip's avatar
      Fix errors detected on Windows dashboards · e6356d86
      Sujin Philip authored
      Fixes the following errors/warnings
      1] Fixes linker error by adding VTKCOMMONCORE_EXPORT to struct atomic type.
      2] Fixes warning "'CriticalSectionGuard' : assignment operator could not be generated".
  7. 04 May, 2015 1 commit
  8. 28 Apr, 2015 1 commit
    • Sujin Philip's avatar
      Improvements to vtkAtomicInt · 78a5fff0
      Sujin Philip authored
      1] Added support for any 32-bit or 64-bit, signed or unsigned integers and pointer types
      2] Made the interface consistent accross different implementations
  9. 03 Feb, 2015 1 commit
    • Sujin Philip's avatar
      Additions to SMP API · 17a66740
      Sujin Philip authored
      The following additions have been made to the vtk SMP framework
      * Added GetEstimatedNumberOfThreads() to get an estimate on the number of threads used by the back-end.
      * Added size() to thread local storage classes to get the number of thread local instances
      * Improved thread local storage iterator API
      Change-Id: Ic9925a0e856edfb14b78c175d94c9942df8478bf
  10. 18 Dec, 2014 1 commit
  11. 01 Nov, 2013 1 commit
  12. 31 Oct, 2013 2 commits
    • Berk Geveci's avatar
      First implementation of SMP parallel primitives. · 5abad992
      Berk Geveci authored
      Added primitives for developing multi-threaded parallel
      algorithms. Include are vtkSMPTools, which currently
      provides a parallel For implementation; support for simple
      and initializable functors, which are needed to implement
      parallel kernels and thread local storage objects that
      provide storage local to each thread.
      Change-Id: I4c27b25bc2dd7f0ce3194d4488864fef4444c9d3
    • Berk Geveci's avatar
      Fixed bug (compile issue) introduced with previous refactor. · 031fdf7e
      Berk Geveci authored
      Critical sections need to be defined whenever atomics are not
      natively supported. Fixed wrong ifdef.
      Change-Id: Icd5e2245a65c6832c52ab1ba07cf9d9b89768859
  13. 29 Oct, 2013 2 commits
    • Berk Geveci's avatar
      Fixed atomic int compile issues on Windows. · 75062ae4
      Berk Geveci authored
      It turns out that forward declaring various atomic functions
      (_InterlockedXXX) is not straightforward. I ran into situations
      where this did not link. So I moved all of the atomic
      implementation for Windows to the cxx file and properly
      included vtkWindows.h. This should fix all compile/link issues
      of atomic ints on Windows. Note that the main reason that I
      chose not to include vtkWindows.h in the header is that
      atomic ints are used by all subclasses of vtkObjectBase and
      including vtkWindows.h all over the place would degrade
      compile performance significantly.
      Change-Id: I00bf173140587b07665d7d5d84ab0cad5bfda7fe
    • Berk Geveci's avatar
      Refactored the location of the atomic classes. · 55fab3d5
      Berk Geveci authored
      Moved atomic classes into an SMP directory to make sure that
      the SMP backends are obvious for what they are. Also added
      a Simple backend in the CMake file which currently is the same
      as Sequential.
      Change-Id: I7aa0262ea37da774acbe9c2ca13c8e5134178e49