apply the change on EBC kernel, add __synthread