dataracebench
dataracebench copied to clipboard
DRB136: possible wrong comments
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.
check openmp official example.
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.