Floating-point Settings in Worker Threads May Differ from Master Thread for OpenMP, TBB and Intel Cilk Plus

Worker threads created by OpenMP, Intel Cilk Plus or Intel Threading Building Blocks may have different initial floating-point environments compared to the master thread that spawned them. This can lead to slight differences in floating-point results.
  • Linux*
  • Apple OS X*
  • Microsoft Windows* (XP, Vista, 7)
  • C/C++
  • Fortran
  • Compilador C++ Intel®
  • Compilador Fortran Intel®+
  • Intel® Parallel Composer
  • thread
  • floating-point
  • ClosedSWDefect
  • Using Locks Effectively in Parallel Programming

    Thread synchronization is required to maintain data consistency in multi-threaded/parallel programs. As locks are used to prevent race conditions, this article highlights a few optimization techniques/strategies for effective lock utilization.
  • critical section
  • synchronization
  • thread
  • lock
  • multi-core
  • mutex
  • spinlock
  • lock manager
  • race condition
  • synchronization strategy
  • synchronized
  • Computação paralela
  • Assine o thread