GPU_PTX 2+2W+membar.cta+po-p0:p1-xsyg "Mcta-d-Ws-Wg Ws-w-g Po-d-Wg-Ws Ws-w-s" {} P0 | P1 ; mov.s32 r0, 2 | mov.s32 r0, 2 ; st.cg.s32 [r1], r0 | st.cg.s32 [r1], r0 ; membar.cta | mov.s32 r2, 1 ; mov.s32 r2, 1 | st.cg.s32 [r3], r2 ; st.cg.s32 [r3], r2 | ; exists (0::x=2 /\ 0::y=2) (device (kernel (cta (warp P0) (warp P1)))) x:local; y:global Generated assembler //START _litmus_P1 mov.s32 sr01, 2 ; st.cg.s32 [sr11], sr01 ; mov.s32 sr21, 1 ; st.cg.s32 [sr31], sr21 ; //START _litmus_P0 mov.s32 sr00, 2 ; st.cg.s32 [sr10], sr00 ; membar.cta ; mov.s32 sr20, 1 ; st.cg.s32 [sr30], sr20 ; Binary '/tmp/dir4b6c1f.tmp/2+2W+membar.cta+po-p0:p1-xsyg-0.exe' successfully loaded Specification clusters: 2 Specification: [[(657, 2, 'R10'), (659, 2, 'R12')], [(729, 2, 'R10'), (731, 2, 'R12')]] Cluster 0: OK Cluster 1: OK !!SUCCESS!! Test 2+2W+membar.cta+po-p0:p1-xsyg Allowed Histogram (4 states) 16407 :>0::x=1; 0::y=1; 29165 :>0::x=2; 0::y=1; 4353 :>0::x=1; 0::y=2; 75 *>0::x=2; 0::y=2; Ok Witnesses Positive: 75, Negative: 49925 Condition exists (0::x=2 /\ 0::y=2) is validated Observation 2+2W+membar.cta+po-p0:p1-xsyg Sometimes 75 49925 Time 2+2W+membar.cta+po-p0:p1-xsyg 3.21 -- device info -- Name: GeForce GTX 750 Ti Major revision number: 5 Minor revision number: 0 Total global memory: 2147287040 Total shared memory per block: 49152 Number of multiprocessors: 5 Machine: formal Revision 1383, version 5.01 GPU_PTX experimental backend Command line: ./litmus -mach GTX750.cfg -a 8 -gpu-verf-comp true big_bucket/2+2W+membar.cta+po-p0:p1-xsyg-0.litmus -s 50000 Parameters #ifndef SIZE_OF_TEST #define SIZE_OF_TEST 50000 #endif #ifndef NUMBER_OF_RUN #define NUMBER_OF_RUN 1 #endif /* cc options: -arch=sm_50 */ /* barrier: user */ /* speedcheck: no */ /* gpu_general_bc: true */ /* gpu_mem_stress: true */ /* gpu-rand-threads: true */ /* gpu_cuda: true */ /* gpu_gen_addr: true */ /* gpu_cvt_global_to_gen: true */ /* gpu_cvt_shared_to_gen: true */ /* gpu_max_ctas: 5 */ /* gpu_min_ctas: 4 */ /* gpu_max_threads: 256 */ /* gpu_min_threads: 128 */