Software Archive
Read-only legacy content
17061 Discussions

How to build boost libraries for offload mode

Dario_I_
Beginner
486 Views

I am trying to use the boost libraries in offload mode. In particular, I need the boost::serialization and boost::date_time libraries. I know that to be successful I would need a version of these libraries that contain also the mic binary code so that it can be copied to the mic at the beginning of the offload ..... how can I create such libraries? Anyone did successfully use any of the boost libraries in offload mode? (in native mode I know that this is possible and I did read the post on this forum explaining how to do it)

0 Kudos
1 Reply
Loc_N_Intel
Employee
486 Views

Hi Dario,

Here is the answer from our engineer team:

After bulding Boost for MIC, the user can simply link to them the same as they would any other external library for offload use. If linking against the static libs, the Boost code will be built into the offloaded code. If linking against the dynamic libs, the necessary Boost dynamic libs will be collected and sent to the card as part of the offload.

Thank you.

0 Kudos
Reply