Dumb workaround is still needed, so add it back.

[ROCm/clr commit: 3678063598]
This commit is contained in:
Alex Voicu
2018-10-18 15:33:46 +01:00
zatwierdzone przez GitHub
rodzic fe7e09d222
commit 35e9dfc593
@@ -33,6 +33,12 @@ THE SOFTWARE.
#include <limits>
#include <stdint.h>
// HCC's own math functions should be included first, otherwise there will
// be conflicts when hip/math_functions.h is included before hip/hip_runtime.h.
#ifdef __HCC__
#include "kalmar_math.h"
#endif
#pragma push_macro("__DEVICE__")
#pragma push_macro("__RETURN_TYPE")