diff --git a/projects/clr/rocclr/runtime/platform/object.hpp b/projects/clr/rocclr/runtime/platform/object.hpp index e71948f0f2..aa1fb9ba3c 100644 --- a/projects/clr/rocclr/runtime/platform/object.hpp +++ b/projects/clr/rocclr/runtime/platform/object.hpp @@ -205,6 +205,9 @@ struct Coord3D { bool operator==(const Coord3D& rhs) const { return c[0] == rhs.c[0] && c[1] == rhs.c[1] && c[2] == rhs.c[2]; } + operator size_t*() { + return &c[0]; + } }; } // namespace amd