update
update
compile successfully with atomicAdd