Move Cuda support to FxMath.