| 46 | } |
| 47 | |
| 48 | size_t lite::get_device_count(LiteDeviceType device_type) { |
| 49 | #if LITE_BUILD_WITH_MGE |
| 50 | auto mgb_device_type = to_compnode_locator(device_type).type; |
| 51 | return mgb::CompNode::get_device_count(mgb_device_type); |
| 52 | #else |
| 53 | LITE_MARK_USED_VAR(device_type); |
| 54 | LITE_THROW("no lite backend avialible, please check build macro."); |
| 55 | #endif |
| 56 | } |
| 57 | |
| 58 | bool lite::register_decryption_and_key( |
| 59 | std::string decrypt_name, const DecryptionFunc& func, |
nothing calls this directly
no test coverage detected