Skip to content
  • lassoan's avatar
    ENH: Added option to use TBB as SMP backend in VTK · e44903fb
    lassoan authored
    TBB (Threading Building Blocks) provides tools for writing parallel C++ programs. VTK can use TBB to improve efficiency of execution of many filters.
    
    Using TBB over default multi-threading (Sequential), multi-threaded image filter execution is typically improved by 20-30%. In cases where many threads are created (e.g., pipeline updates performed 10-100 per second, on an 8 or more core machine) and the computation load is very small, the speed may be improved by a factor of 10-20x. On some systems image reslicing performance is increased from 10fps to 130fps by switching from Sequential to TBB.
    
    TBB is now enabled by default on Windows. Slicer with TBB has not been tested on Linux and MacOSX yet (probably building and packaging need some fixes).
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@27132 3bd1e089-480b-0410-8dfb-8563597acbee
    e44903fb