Tutorial: Developing Applications Using parallel_for

Step 1: Prepare the environment

Register the environment variables to locate necessary library and include files.

Execute scripts for Linux OS or OS X* systems. For Windows* OS systems, configure your Visual Studio* project build configurations (debug, release) properties.

Step 2: Develop your application

Develop your application using parallel_for.

Step 3: Build the application

Build the application in an IDE or using the command line.

Step 4: Run the application

Run the application and compare the performance of the parallel version with the serial version.

Pour de plus amples informations sur les optimisations de compilation, consultez notre Avertissement concernant les optimisations.