Multi-thread apps for Multi-Core

AE provided


These samples are from Intel® application engineers.


OpenMP and Win32 Threads Usage Example
by Stanislav Bratanov
The code example computes a trigonometric formula for arrays of input coefficients and parallels the computation either using OpenMP directives or creating threads manually. The performance of both approaches is measured and compared.

  • Multi-thread apps for Multi-Core
  • Threaded Code examples
  • Parallel Computing
  • XNA* game

    Download this app from here.

    XNA Game Sample Application
    This sample application will help you get hands on experience with multi-threading using Intel’s dual core processors.

     

    Environment Note:
    In order to use this sample, you will need a working test or development environment. This environment can be obtained by:

     

  • Multi-thread apps for Multi-Core
  • Reference threaded apps
  • Parallel Computing
  • Structure the Design Phase of Threaded Application Development Cycle


    Challenge

    Develop a methodology for the design phase of the development cycle. Regions identified by the analysis phase are examined during the design phase to determine changes that must be made to accommodate a threading paradigm.

  • analysis
  • Multi-thread apps for Multi-Core
  • How to thread?
  • Parallel Computing
  • Effectiveness of Hyper-Threading Technology With an Application


    Challenge

    Ascertain whether the level of performance improvement from Hyper-Threading Technology for a specific application is acceptable. There is a misconception that equal performance on two workloads means equal Hyper-Threading Technology effectiveness. This doesn't give the full picture, since the amount of performance achievable is unknown.

  • Hyper-Threading
  • Multi-thread apps for Multi-Core
  • Parallel Computing
  • Detect Stalls Due to Exceeding Write-Combining Store Buffers on Hyper-Threading Technology-Enabled Systems


    Challenge

    Determine whether performance degradation (or lower-than-expected performance benefit) from Hyper-Threading Technology is due to exceeding the write-combining buffer capacity. A write-combining (WC) store buffer accumulates multiple stores in the same cache line before eventually writing the combined data farther out into the memory hierarchy, to accelerate processor write performance.

  • Multi-thread apps for Multi-Core
  • How to thread?
  • Performance analysis
  • Parallel Computing
  • Scaling Ambient Animations for Improved Game Experience

    Game developers want a game that is fair to all players. This article introduces a demo called Horsepower that shows enhanced ambient animation when run on a multi-core CPU. Horsepower features a multi-threaded game framework based on the Smoke demo.
  • Smoke - Game Technology Demo
  • Multi-thread apps for Multi-Core
  • visual computing
  • horsepower
  • game framework
  • Game Development
  • Graphics
  • Parallel Computing
  • Choose the Right Threading Model (Task-Parallel or Data-Parallel Threading)


    Challenge

    Choose task-level or data-parallel threading for various parts of an application. Choosing the right threading method minimizes the amount of time spent modifying, debugging, and tuning threaded code.


    Solution

    Describe your application (or an individual operation in that application) in terms of one of two models based on fit for the particular job:

  • analysis
  • Multi-thread apps for Multi-Core
  • How to thread?
  • Parallel Computing
  • Subscribe to Multi-thread apps for Multi-Core