| 58 | } |
| 59 | |
| 60 | void QPilotOSMachine::init() |
| 61 | { |
| 62 | PTraceInfo("***************** On QPilotOSMachine::init for mode: " << m_machine_type << " *****************\n" |
| 63 | << g_version << "\n"); |
| 64 | |
| 65 | if (m_machine_type == "Pilot") |
| 66 | { |
| 67 | PTraceError("Error: faile to init QPilotOSMachine for Pilot model, no available parameters."); |
| 68 | return; |
| 69 | } |
| 70 | |
| 71 | m_cpu_machine = new(std::nothrow) QPanda::CPUQVM; |
| 72 | m_cpu_machine->init(); |
| 73 | _start(); |
| 74 | } |
| 75 | |
| 76 | std::string QPilotOSMachine::OutputVersionInfo() |
| 77 | { |
no test coverage detected