Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

DRB136: possible wrong comments #120

Open
chunhualiao opened this issue Sep 7, 2021 · 2 comments
Open

DRB136: possible wrong comments #120

chunhualiao opened this issue Sep 7, 2021 · 2 comments
Assignees

Comments

@chunhualiao
Copy link
Collaborator

https://github.com/LLNL/dataracebench/blob/master/micro-benchmarks/DRB136-taskdep-mutexinoutset-orig-yes.c

pairs should be on c , instead of on variable d.

Also multiple pairs.

@peihunglin peihunglin self-assigned this Sep 21, 2021
@peihunglin
Copy link
Collaborator

check openmp official example.

@jprotze
Copy link
Contributor

jprotze commented Aug 11, 2023

Each task is created once. Therefore, each line is executed once. It is not possible to have a data race on the same instruction. The correct pairs are on c in 32-34, 34-36, 34-36.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants