flexbar icon indicating copy to clipboard operation
flexbar copied to clipboard

Migrate from tbb to onetbb

Open lkeegan opened this issue 1 year ago • 3 comments

  • add FlexbarAtomic
    • a simple wrapper around std::atomic which adds a copy constructor
    • to replace tbb::atomic member variables in classes with default copy constructors
  • replace removed tbb::atomic
    • with FlexbarAtomic if copy constructor was assumed
    • with std::atomic otherwise
  • filters (PairedAlign, PairedInput, PairedOutput)
    • no longer inherit from tbb::filter
    • take and return pointers to actual type instead of void*
    • operator() is now const
  • pipeline
    • use parallel_pipeline and make_filter
  • use global_control to set max threads
  • use oneapi::tbb namespace
  • add find_package for TBB to CMakeLists.txt

lkeegan avatar Feb 09 '23 15:02 lkeegan