| 174 | } |
| 175 | |
| 176 | Backend* VulkanRuntime::onCreate(const BackendConfig* config, Backend* origin) const { |
| 177 | if (nullptr != config) { |
| 178 | MNN_ASSERT(config->precision == mPrecision); |
| 179 | } |
| 180 | auto backend = new VulkanBackend(this); |
| 181 | backend->setMetaPtr(pMeta); |
| 182 | return backend; |
| 183 | } |
| 184 | int VulkanRuntime::onGetRuntimeStatus(RuntimeStatus statusEnum) const { |
| 185 | switch (statusEnum) { |
| 186 | case STATUS_SUPPORT_FP16: { |
nothing calls this directly
no test coverage detected