Summary: | helgrind race condition warnings using openmp | ||||||
---|---|---|---|---|---|---|---|
Product: | Eigen | Reporter: | Bowie Owens <bowie.owens> | ||||
Component: | Core - general | Assignee: | Nobody <eigen.nobody> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Unknown | CC: | gael.guennebaud, jacob.benoit.1 | ||||
Priority: | Normal | ||||||
Version: | 3.0 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Bowie Owens
2012-05-22 07:23:46 UTC
You are right, my initial solution was not good. Fixed: https://bitbucket.org/eigen/eigen/changeset/b24a0c74e593/ changeset: b24a0c74e593 user: ggael date: 2012-06-08 17:29:02 summary: Fix bug 466: race condition destected by helgrind in manage_caching_sizes. After all, the solution based on threadprivate is not that costly. Created attachment 279 [details]
Patch adding an initParallel() global function
The previous solution was limited to OpenMP only, and not even supported on all platform (e.g., macosx with default compiler).
This new patch add a initParallel() function which must be called at the initialization time of a multi-threaded application calling Eigen from multiple threads.
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/466. |