flame / blis

BLAS-like Library Instantiation Software Framework
Other
2.24k stars 365 forks source link

TBB: a solution to thread oversubscription? #656

Open chris-monardo opened 2 years ago

chris-monardo commented 2 years ago

Hello, I'm looking to use BLIS but I have a concern about thread oversubscribing due to non-composability of OpenMP. I am developing a highly parallel program using TBB flow graphs where each thread may in turn use parallel BLIS operations. I'd like to request having a configure option to support TBB to solve the oversubscription problem.

For more information see Chapter 9 of ProTBB Putting It All Together. https://link.springer.com/book/10.1007/978-1-4842-4398-5

jeffhammond commented 2 years ago

I thought https://github.com/devinamatthews/tblis supported TBB but I can't tell anymore. You might try that.

devinamatthews commented 2 years ago

Yes, TBLIS has TBB support and it is almost as performant as optimized OpenMP. The idea is to port this to BLIS at some point but there is no ETA yet.