| 193 | } |
| 194 | |
| 195 | void lite::dump_tensor_rt_cache() { |
| 196 | #if MGB_ENABLE_TENSOR_RT |
| 197 | if (mgb::TensorRTEngineCache::enable_engine_cache()) { |
| 198 | mgb::TensorRTEngineCache::inst().dump_cache(); |
| 199 | } |
| 200 | #else |
| 201 | LITE_THROW("TensorRT is disable at compile time."); |
| 202 | #endif |
| 203 | } |
| 204 | |
| 205 | bool lite::register_memory_pair( |
| 206 | void* vir_ptr, void* phy_ptr, size_t length, LiteDeviceType device, |
nothing calls this directly
no test coverage detected