文章目錄
- 1 前言
- 2 編譯器對OpenMP标準的支援
-
- 2.1 Intel
- 2.2 OpenMP
- 3 文獻
1 前言
Intel和GNU的編譯器均實作了對OpenMP API的支援,這裡列出各代編譯器對OpenMP标準的支援情況,友善使用OpenMP的各種特性。
2 編譯器對OpenMP标準的支援
以下内容來源于OpenMP API specification,這裡也僅粗略給出最常見的供應商Intel和開源社群GNU對OpenMP标準的支援,且大量partially support并未說明具體支援情況,僅供大家粗略定位,具體支援情況需要具體測試分析。
2.1 Intel
Intel version | OpenMP version | language |
---|---|---|
12.0/13.0/14.0 | 3.1 | C/C++/Fortran |
15.0/16.0 | 4.0 | C/C++/Fortran |
17.0/18.0/19.0 | 4.5 | C/C++/Fortran |
19.1 | 4.5 and subset of 5.0 | C/C++/Fortran |
2.2 OpenMP
gcc version | OpenMP version | language |
---|---|---|
4.2.0 | 2.5 | C/C++/Fortran |
4.4.0 | 3.0 | C/C++/Fortran |
4.7.0 | 3.1 | C/C++/Fortran |
4.9.0 | 4.0 | C/C++ |
4.9.1 | 4.0 | C/C++/Fortran |
6.1 | 4.5 | C/C++ |
7.1 | 4.5 | C/C++/partially supported for Fortran |
9.1 | 5.0 | partially support for C/C++ |
3 文獻
[1]OpenMP Compilers & Tools-OpenMP