| 133 | class MyBuffer : public Buffer { |
| 134 | public: |
| 135 | MyBuffer(std::shared_ptr<MemoryManager> mm, const std::shared_ptr<Buffer>& parent) |
| 136 | : Buffer(parent->data(), parent->size()) { |
| 137 | parent_ = parent; |
| 138 | SetMemoryManager(mm); |
| 139 | } |
| 140 | }; |
| 141 | |
| 142 | std::shared_ptr<MemoryManager> MyDevice::default_memory_manager() { |
nothing calls this directly
no test coverage detected