Add missing macro MAKE_COMPONENT_CONSTRUCTOR_TWO_COMPONENT to hip_complex.h

[ROCm/hip commit: 5eeb57b0a6]
Tá an tiomantas seo le fáil i:
Yaxun (Sam) Liu tiomanta 2018-06-17 20:20:32 -04:00
1 tuismitheoir 94b64ea44b
tiomantas 0b10ab2b7e
1 comhad athraithe
+3
@@ -94,6 +94,9 @@ THE SOFTWARE.
ret.y = lhs.y * rhs; \
return ret; \
}
#define MAKE_COMPONENT_CONSTRUCTOR_TWO_COMPONENT(ComplexT, T) \
ComplexT(T val) : x(val), y(val) {} \
ComplexT(T val1, T val2) : x(val1), y(val2) {}
#endif