以 Visual C++ 進行平行程式設計Parallel Programming in Visual C++

Visual C++ 提供下列技術,可協助您建立多執行緒和平行程式,以利用多重核心並使用 GPU 進行一般用途的程式設計。Visual C++ provides the following technologies to help you create multi-threaded and parallel programs that take advantage of multiple cores and use the GPU for general purpose programming.

標題Title 說明Description
自動平行處理和自動向量化Auto-Parallelization and Auto-Vectorization 加速程式碼的編譯器優化。Compiler optimizations that speed up code.
並行執行階段Concurrency Runtime 可簡化使用資料平行處理原則或工作平行處理之程式撰寫的類別。Classes that simplify the writing of programs that use data parallelism or task parallelism.
C++ AMP (C++ Accelerated Massive Parallelism)C++ AMP (C++ Accelerated Massive Parallelism) 這些類別可讓您使用新式圖形處理器進行一般用途的程式設計。Classes that enable the use of modern graphics processors for general purpose programming.
舊版程式碼的多執行緒支援 (Visual C++) Multithreading Support for Older Code (Visual C++) 較舊的應用程式可能會很有用的技術。Older technologies that may be useful in older applications. 若為新的應用程式,請使用並行執行階段或 C++ AMP。For new apps, use the Concurrency Runtime or C++ AMP.
OpenMPOpenMP OpenMP API 的 Microsoft 實行。The Microsoft implementation of the OpenMP API.
Visual Studio 中的 C++C++ in Visual Studio 本檔的這一節包含 Visual C++ 的大部分功能的相關資訊。This section of the documentation contains information about most of the features of Visual C++.