I have boolean variable let’s say X
X may be in global or in shared memory
X may be set to true by multiple parts of the block or by other blocks - yet nothing can set it to false in this scenario
I care only whether the X is true or not - it is unimportant what set it to true or how many times it was set to true
In CPU I still should avoid data race as It may lead to runtime error / exception - but GPU seem to be different in this regard can I ignore data race in such setting?