- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Working on a server machine and it has oneTBB installed already. However I want to modify some classes slightly for my own project's need. So I feel the best way is to install it as a library for my project. Is there a way to add that? Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
You can install the standalone version of oneTBB library.
Please refer to the below link to get the oneTBB standalone library.
https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html
Hope this helps to resolve your issue. If not, could you please elaborate more about your issue so that we can investigate from our end?
Thanks & Regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello! Thank you so much! I actually later resolved that I may not necessarily need to reimplement something. But I do have some question about accessors in concurrent hash map. I'm trying to understand how regular accessor allows updates in the map but const_accessor does not. From online examples, I found out the standard way of using this map is through creating an appropriate accessor, and call the lookup with the key and accessor. I find out an insert will create an accessor, insert with the key and accessor, and assign accessor's second to the value we want to insert. So can I say accessors are set to copy the values of the key not the pointers to the values? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes, you are right.
Accessors of Concurrent_hash_map copy the values of the key. If they use pointers then the element can be modified concurrently resulting in a data race.
Thanks & Regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We haven't heard back from you. Could you please provide an update on your issue?
Thanks & Regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, sorry I forgot to respond. Everything works well. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Glad to know that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards,
Noorjahan.
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page