多线程开发

Loop Modifications to Enhance Data-Parallel Performance

When confronted with nested loops, the granularity of the computations that are assigned to threads will directly affect performance. Loop transformations such as splitting and merging nested loops can make parallelization easier and more productive.
  • 开发人员
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • 服务器
  • 中级
  • 英特尔® C++ 编译器
  • Intel® Fortran Compiler
  • 英特尔® Parallel Composer
  • 英特尔® Parallel Studio
  • 英特尔® Parallel Studio XE
  • 优化
  • 并行计算
  • Implement Threading in a Data-Decomposition Problem

    Challenge

    Apply threading to data-decomposition problems in the Implementation Phase of application development. Data-decomposition problems are situations where multiple threads need to be assigned to perform the same functionality on different data.

    The serial code shown below computes the value of pi.

  • multi-core
  • OpenMP*
  • 并行计算
  • 线程
  • Resolve Memory Conflicts in Data-Decomposition Problems


    Challenge

    Identify memory conflicts in a data-decomposition problem to identify data-restructuring requirements. This procedure is part of the design phase for threaded applications that is necessary in order to identify issues that could cause performance degradation.

  • 英特尔® 线程检测器
  • OpenMP*
  • 并行计算
  • 线程
  • Granularity and Parallel Performance

    One key to attaining good parallel performance is choosing the right granularity for the application. Granularity is the amount of real work in the parallel task. If granularity is too fine, then performance can suffer from communication overhead.
  • 开发人员
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • 服务器
  • 中级
  • 英特尔® C++ 编译器
  • Intel® Fortran Compiler
  • 英特尔® Parallel Composer
  • 英特尔® Parallel Studio
  • 英特尔® Parallel Studio XE
  • 并行计算
  • 页面

    订阅 多线程开发