Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Tbb on new macOS arm

amozharovskiy
Beginner
4,618 Views

Hello,

we need to link with tbb for the new macOS arm,

since we couldn't find any official support we decided to start with https://github.com/yorkie/ios-tbb/tree/master/build#port ,  

for synchronization operations can you please give any advice on whether it would be safe to use the existing gcc_arm header or instead start with implementation for iOS? or should macOS common one be used? 

is there any difference between those arm processors in the sense that it could lead to problems (crashes) or serious performance loss? is there anything else we should do aside from what's described in yorkie's iOS  port?

Can you please say if there are any plans on officially supporting new macOS 11.0 on arm processors? 

0 Kudos
1 Solution
Mark_L_Intel
Moderator
4,563 Views

There are no plans to support TBB on ARM-macOS in general for now.


View solution in original post

0 Kudos
2 Replies
Mark_L_Intel
Moderator
4,564 Views

There are no plans to support TBB on ARM-macOS in general for now.


0 Kudos
Alexei_K_Intel
Employee
4,531 Views

As Mark mentioned, currently there is no TBB support of new Apple Silicon*. However, we are open to community contributions via GitHub (https://github.com/oneapi-src/oneTBB).

As for ARM* specific, I would not expect  much difference in correctness. Moreover, TBB 2020 can be built and used on ARM* based iOS* and Android* systems. As for performance, in our experience macOS* kernel (even x86 based) is slightly different from Linux* kernel and special tuning is required.

If you are interested in the contribution, consider oneTBB code base (the master and onetbb_2021 branches). The build system was migrated from Makefiles to CMake. 

Reply