| 62 | int getActiveDeviceId() { return nmi_->getActiveDeviceId(); } |
| 63 | size_t getMaxMemorySize(int id) { return nmi_->getMaxMemorySize(id); } |
| 64 | void *nativeAlloc(const size_t bytes) { return nmi_->nativeAlloc(bytes); } |
| 65 | void nativeFree(void *ptr) { nmi_->nativeFree(ptr); } |
| 66 | virtual spdlog::logger *getLogger() final { return nmi_->getLogger(); } |
| 67 | virtual void setAllocator(std::unique_ptr<AllocatorInterface> nmi) { |