Merged in deven-amd/eigen-hip-fix-191018 (pull request PR-738)

Fix for the HIP build+test errors.
This commit is contained in:
Rasmus Larsen 2019-10-22 22:18:38 +00:00
commit 8e4e29ae99

View File

@ -78,7 +78,14 @@ class TensorBlockDescriptor {
// evaluated expression scalar type.
class DestinationBuffer {
public:
enum DestinationBufferKind {
enum DestinationBufferKind : int {
// The above explicit specification of "int" as the enum basetype is needed
// to get around a HIPCC link error ("the field type is not amp-compatible")
// which is issued for class members with the enum type.
// TODO(rocm):
// remove the "int" basetype once HIPCC has been fixed to not error out
// in the above scenario.
// Destination buffer is not defined (`m_data` == nullptr).
kEmpty,