add omp_atomic
fix a small bug +=
rename atomic to acc
modify to acc version