forked from OSchip/llvm-project
[OpenMP] fix typo - the standalone 'distribute' pragma should be 'teams distribute' pragma
llvm-svn: 291260
This commit is contained in:
parent
42af8da4c8
commit
4c31a209df
|
@ -66,7 +66,8 @@ T tmain(T argc, S **argv) { //expected-note 2 {{declared here}}
|
|||
for (int i = ST; i < N; i++)
|
||||
argv[0][i] = argv[0][i] - argv[0][i-ST];
|
||||
|
||||
#pragma omp distribute collapse (S) // expected-error {{'S' does not refer to a value}}
|
||||
#pragma omp target
|
||||
#pragma omp teams distribute collapse (S) // expected-error {{'S' does not refer to a value}}
|
||||
for (int i = ST; i < N; i++)
|
||||
argv[0][i] = argv[0][i] - argv[0][i-ST];
|
||||
|
||||
|
|
Loading…
Reference in New Issue