Yes, this was changed in VS2010:
static __inline double __CRTDECL hypot(_In_ double _X, _In_ double _Y)
{
return _hypot(_X, _Y);
}
Not sure about abs () error, line number looks wrong. The math_functions.h header is no longer compatible with VS2010, something should give. Check out the need to still have #include math.h, it should be functionally replaced by Cuda. Hacking the header will be another way to overcome the problem until they fix it:
#if !defined(_MSC_VER) || _MSC_VER < 0x1400
#endif
source
share