Added cudaMemset(d_s0, 0, var_bytes);