diff --git a/rocclr/runtime/platform/interop.hpp b/rocclr/runtime/platform/interop.hpp index 29f6be6c58..55c8116249 100644 --- a/rocclr/runtime/platform/interop.hpp +++ b/rocclr/runtime/platform/interop.hpp @@ -37,10 +37,6 @@ class InteropObject { virtual bool copyOrigToShared() { return true; } // On release copy data from shared copy to the original resource virtual bool copySharedToOrig() { return true; } - - //! Mapping functions for interop objects - virtual bool mapExtObjectInCQThread() { return true; } - virtual bool unmapExtObjectInCQThread() { return true; } }; } // namespace amd diff --git a/rocclr/runtime/platform/memory.hpp b/rocclr/runtime/platform/memory.hpp index a70a00644b..53714d58b2 100644 --- a/rocclr/runtime/platform/memory.hpp +++ b/rocclr/runtime/platform/memory.hpp @@ -284,19 +284,6 @@ class Memory : public amd::RuntimeObject { //! Force an asynchronous writeback from the most-recent dirty cache to host void cacheWriteBack(void); - //! For CPU device only! - //! Base functions for mapping/unmapping GL/D3D objects - //! Functions may be left empty, if not needed - //! Virtual member function mapExtObjectInCQThread() maps a GL object - //! and store CPU memory pointer in Memory::hostMem_. - //! Returns true if ok, false 0 if error(s) - virtual bool mapExtObjectInCQThread(void) { return true; } - - //! Virtual member functions unmapExtObjectInCQThread() unmaps a GL object - //! and clears pointer Memory::hostMem_. - //! Returns true if ok, false 0 if error(s) - virtual bool unmapExtObjectInCQThread(void) { return true; } - //! Returns true if the specified area covers memory intirely virtual bool isEntirelyCovered(const Coord3D& origin, //!< Origin location of the covered region const Coord3D& region //!< Covered region dimensions