avoid using sMem in EBR kernel, add threadfence, reduce error rate