| 136 | } |
| 137 | |
| 138 | bool ExecContext::ExistDevice(const char* dev_name) |
| 139 | { |
| 140 | auto ir = FindDevice(dev_name); |
| 141 | |
| 142 | if(ir == dev_list_.end()) |
| 143 | return false; |
| 144 | else |
| 145 | return true; |
| 146 | } |
| 147 | |
| 148 | std::vector<DevExecutor*>::iterator ExecContext::FindDevice(const char* dev_name) |
| 149 | { |
no test coverage detected