dataracebench icon indicating copy to clipboard operation
dataracebench copied to clipboard

DRB136: possible wrong comments

Open chunhualiao opened this issue 3 years ago • 2 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.

chunhualiao avatar Sep 07 '21 23:09 chunhualiao

check openmp official example.

peihunglin avatar Sep 21 '21 23:09 peihunglin

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.

jprotze avatar Aug 11 '23 15:08 jprotze