def METHOD_NAME(self):
    # Does not test runtime behavior, just the code generation.
    sig = (int32[:],)
    compiled = cuda.jit(sig)(use_threadfence_system)
    ary = np.zeros(10, dtype=np.int32)
    compiled[1, 1](ary)
    self.assertEqual(123 + 321, ary[0])
    if not ENABLE_CUDASIM:
        self.assertIn("membar.sys;", compiled.inspect_asm(sig))