- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried to use Intel Parallel Inspector (IPI) on Windows, but I am using pthreads and IPI does not know about pthreads on Windows and therefore gives a lot of warnings about potential data race conditions.
Is there a way for me to inform IPI the lock and unlock functions of the pthreads library so IPI knows that proper lock/unlock is done so IPI will not give false warnings?
I suppressed the warnings, but after suppressing hundreds of warnings, I am not confident that proper checking is being done (perhaps legitimate errors are being suppressed do to the requirement to suppress at such a low level).
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Boyd,
Pthreads on Windows are not supported. You may report a feature request in premier.intel.com.
How do you build your pthread application? What compiler do you use? GCC on Windows like Cygwin is unsupported configuration.
Regards,
Kirill
Pthreads on Windows are not supported. You may report a feature request in premier.intel.com.
How do you build your pthread application? What compiler do you use? GCC on Windows like Cygwin is unsupported configuration.
Regards,
Kirill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Boyd,
IPI may be using the function signature for it's supported lock and unlock (e.g. that from TBB).
If you are not using TBB in your application, then try lifting its lock/unlock functions, extract the body of the function and replace it with the pthreads equivalent. Thus creating a lock/unlock function signature the same as for TBB (but performing your particular lock request).
Jim Dempsey
IPI may be using the function signature for it's supported lock and unlock (e.g. that from TBB).
If you are not using TBB in your application, then try lifting its lock/unlock functions, extract the body of the function and replace it with the pthreads equivalent. Thus creating a lock/unlock function signature the same as for TBB (but performing your particular lock request).
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the clever suggestion.
I have also submitted an example project to Intel to see if they might be able to provide support for Windows Pthreads.
I have also submitted an example project to Intel to see if they might be able to provide support for Windows Pthreads.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page