no atomic add for doubles in cuda :(