|
From: | Paul Miller |
Subject: | Re: [Openexr-devel] Thread safety |
Date: | Thu, 04 Apr 2013 08:24:54 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 |
On 4/3/2013 11:17 AM, Christopher Horvath wrote:
I have seen astonishing performance from the TBB library, but it is not part of a standard, and it is controlled entirely by Intel, which makes it a risky choice for the default implementation. However, OpenVDB depends entirely upon it, so there is a precedent. OpenMP is natively supported in both C and C++, and is implemented across a large number of compilers by way of compiler directives. It is a more restrictive standard, and has a lot of limitations. Plus, it's existence in #pragma form seems kludgy to me.
I've found OpenMP and TBB to be roughly equivalent, at least when MPing loops. OpenMP is nice because you can build with/without it very easily, without touching the code/pragmas, and it allows code to build on systems without it without any changes either.
As for performance, have you found otherwise?
[Prev in Thread] | Current Thread | [Next in Thread] |