正在加载图片...
Page4 OpenMPAPI5.0 Directives and Constructs (continued) arlel Worksharin-oo SiMD Worksharing-oo target parallel for [clouselL_ tormning itnd retco e directive allel Worksharing-Loop SIMD paralle do simd se allel do simd eyhetaetorao7oim ute parall target arallel loop arget parallel loop /douselLcouse distrbute parallel do (cbousel[clouse] o-oop 5oaseoatpanleloplobusalLjtbusel ctandgmerannime ,2mePamdeon Tea s Distribute Parallel Worksharing-Loop target simd 2 aster taskloop simd/ oa7baetsndaousalos pendtargetsnmd target teams opletouseljtousal- LCmasterasto re-l cdouseclouse] ns loop (. parallel master taskloop simd otrt86anaraaooteneha target teams distribute ining mastertasoop simd copyin, estric 2019 OpenMP ARB OMP0519-01-OMPS Page 4 OpenMP API 5.0 © 2019 OpenMP ARB OMP0519-01-OMP5 Directives and Constructs (continued) Parallel Worksharing-Loop SIMD [2.13.5] [2.11.4] Shortcut for specifying a parallel construct containing only one worksharing-loop SIMD construct. C/C++#pragma omp parallel for simd [clause[ [, ]clause] ...] for-loops For!$omp parallel do simd [clause[ [, ]clause] ...] do-loops [!$omp end parallel do simd] clause: Any accepted by the parallel or for/do simd directives except for nowait, with identical meanings and restrictions. parallel master [2.13.6] Shortcut for specifying a parallel construct containing a master construct and no other statements. C/C++#pragma omp parallel master [clause[ [, ]clause] ...] structured-block For!$omp parallel master [clause[ [, ]clause] ...] structured-block $omp end parallel master clause: Any clause used for parallel directive with identical meanings and restrictions. master taskloop [2.13.7] Shortcut for specifying a master construct containing a taskloop construct and no other statements. C/C++#pragma omp master taskloop [clause[ [, ]clause] ...] for-loops For!$omp master taskloop [clause[ [, ]clause] ...] do-loops [$omp end master taskloop] clause: Any clause used for the taskloop directive with identical meanings and restrictions. master taskloop simd [2.13.8] Shortcut for specifying a master construct containing a taskloop simd construct and no other statements. C/C++#pragma omp master taskloop simd \ [clause[ [, ]clause] ...] for-loops For!$omp master taskloop simd [clause[ [, ]clause] ...] do-loops [$omp end master taskloop simd] clause: Any clause used for taskloop simd directive with identical meanings and restrictions. parallel master taskloop [2.13.9] Shortcut for specifying a parallel construct containing a master taskloop construct and no other statements. C/C++#pragma omp parallel master taskloop \ [clause[ [, ]clause] ...] for-loops For!$omp parallel master taskloop [clause[ [, ]clause] ...] do-loops [$omp end parallel master taskloop] clause: Any clause used for parallel or master taskloop directives, except the in_reduction clause, with identical meanings and restrictions. parallel master taskloop simd [2.13.10] Shortcut for specifying a parallel construct containing a master taskloop simd construct and no other statements. C/C++#pragma omp parallel master taskloop simd \ [clause[ [, ]clause] ...] for-loops For!$omp parallel master taskloop simd [clause[ [, ]clause] ...] do-loops [$omp end parallel master taskloop simd] clause: Any clause used for parallel or master taskloop simd directives, except the in_reduction clause, with identical meanings and restrictions. teams distribute [2.13.11] [2.11.10] Shortcut for specifying a teams construct containing a distribute construct and no other statements. . C/C++#pragma omp teams distribute [clause[ [, ]clause] ...] for-loops For!$omp teams distribute [clause[ [, ]clause] ...] do-loops [!$omp end teams distribute] clause: Any accepted by the teams or distribute directives with identical meanings and restrictions. teams distribute simd [2.13.12] [2.11.11] Shortcut for specifying a teams construct containing a distribute simd construct and no other statements. C/C++#pragma omp teams distribute simd \ [clause[ [, ] clause] ...] for-loops For!$omp teams distribute simd [clause[ [, ]clause] ...] do-loops [!$omp end teams distribute simd] clause: Any accepted by the teams or distribute simd directives with identical meanings and restrictions. Teams Distribute Parallel Worksharing￾Loop [2.13.13] [2.11.14] Shortcut for specifying a teams construct containing a distribute parallel worksharing-loop construct and no other statements. C/C++#pragma omp teams distribute parallel for \ [clause[ [, ]clause] ...] for-loops For!$omp teams distribute parallel do [clause[ [, clause] ...] do-loops [!$omp end teams distribute parallel do] clause: Any clause used for teams or distribute parallel for/ do directives with identical meanings and restrictions. Teams Distribute Parallel Worksharing-Loop SIMD [2.13.14] [2.11.16] Shortcut for specifying a teams construct containing a distribute parallel work-sharing-loop SIMD construct and no other statements. C/C++#pragma omp teams distribute parallel for simd \ [clause[ [, ]clause] ...] for-loops For !$omp teams distribute parallel do simd [clause[ [, ]clause] ...] do-loops [!$omp end teams distribute parallel do simd] clause: Any accepted by teams or distribute parallel for/ do simd, with identical meanings and restrictions. teams loop [2.13.15] Shortcut for specifying a teams construct containing a loop construct and no other statements. C/C++#pragma omp teams loop [clause[ [, ]clause] ...] for -loops For!$omp teams loop [clause[ [, ]clause] ...] do-loops [!$omp end teams loop] clause: Any accepted by the teams or loop directives with identical meanings and restrictions. target parallel [2.13.16] [2.11.5] Shortcut for specifying a target construct containing a parallel construct and no other statements. C/C++#pragma omp target parallel [clause[ [, ]clause] ...] structured-block For!$omp target parallel [clause[ [, ]clause] ...] structured-block [!$omp end target parallel] clause: Any accepted by the target or parallel directives, except for copyin, with identical meanings and restrictions. Target Parallel Worksharing-Loop [2.13.17] [2.11.6] Shortcut for specifying a target construct with a parallel worksharing-loop construct and no other statements. C/C++#pragma omp target parallel for [clause[ [, ]clause] ...] for -loops For!$omp target parallel do [clause[ [, ]clause] ...] do-loops [!$omp end target parallel do] clause: Any accepted by the target or parallel for/do directives, except for copyin, with identical meanings and restrictions. Target Parallel Worksharing-Loop SIMD [2.13.18] [2.11.7] Shortcut for specifying a target construct with a parallel worksharing-loop SIMD construct and no other statements. C/C++#pragma omp target parallel for simd \ [clause[ [, ]clause] ...] for-loops For!$omp target parallel do simd [clause[ [, ]clause] ...] do-loops [!$omp end target parallel do simd] clause: Any accepted by the target or parallel for/do simd directives, except for copyin, with identical meanings and restrictions. target parallel loop [2.13.19] Shortcut for specifying a target construct containing a parallel loop construct and no other statements. C/C++#pragma omp target parallel loop [clause[ [, ]clause] ...] for-loops For!$omp target parallel loop [clause[ [, ]clause] ...] do-loops [!$omp end target parallel loop] clause: Any accepted by the target or parallel loop directives with identical meanings and restrictions. target simd [2.13.20] [2.11.8] Shortcut for specifying a target construct containing a simd construct and no other statements. C/C++#pragma omp target simd [clause[ [, ]clause] ...] for-loops For!$omp target simd [clause[ [, ]clause] ...] do-loops [!$omp end target simd] clause: Any accepted by the target or simd directives with identical meanings and restrictions. target teams [2.13.21] [2.11.9] Shortcut for specifying a target construct containing a teams construct and no other statements. C/C++#pragma omp target teams [clause[ [, ]clause] ...] structured-block For!$omp target teams [clause[ [, ]clause] ...] structured-block !$omp end target teams clause: Any accepted by the target or teams directives with identical meanings and restrictions. target teams distribute [2.13.22] [2.11.12] Shortcut for specifying a target construct containing a teams distribute construct and no other statements. C/C++#pragma omp target teams distribute [clause[ [, ] \ clause] ...] for-loops For!$omp target teams distribute [clause[ [, ]clause] ...] do-loops [!$omp end target teams distribute] clause: Any accepted by the target or teams distribute directives with identical meanings and restrictions. Continued4
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有