Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

OMP and vectorization interference #4

Open
brnorris03 opened this issue May 22, 2014 · 0 comments
Open

OMP and vectorization interference #4

brnorris03 opened this issue May 22, 2014 · 0 comments
Labels

Comments

@brnorris03
Copy link
Owner

When both OMP parallelization and vectorization are enabled, the OMP pragma gets placed in front of declarations instead of the for loop it's annotating, example below. This is a compile-time error (e.g., with icc 14)
{
int i;

pragma omp parallel for private(i)

register int cbv_1;
cbv_1=ny-25;

pragma ivdep

pragma vector always

for (i=0; i<=cbv_1; i=i+25) {
s[i]=0;
s[(i+1)]=0;
...

@brnorris03 brnorris03 added the bug label May 22, 2014
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant