improved gradbias computation speed with atomics