Add Cuda support in FxMath library.