2+2 Write

The 2+2 write litmus test checks to see if two stores in two threads can both be re-ordered.

Initial State *x = 0, *y = 0 Final State: *x == 2 && *y == 2
Workgroup 0 Thread 0
0.1: atomicStore(x, 2)
0.2: atomicStore(y, 1)
Workgroup 1 Thread 0
1.1: atomicStore(y, 2)
1.2: atomicStore(x, 1)
Explorer Mode
Tuning Mode

Weak Outcome Count: 0

Total Observed Outcomes: 0

Weak Outcome Percentage: 0.00%

Weak Outcome: *x == 2 && *y == 2

Run time : 0 seconds

Rate : NaN iterations per second

Time Remaining : NaN seconds