| 69 | } |
| 70 | |
| 71 | bool |
| 72 | ml_test_cap_check(struct ml_options *opt) |
| 73 | { |
| 74 | struct rte_ml_dev_info dev_info; |
| 75 | |
| 76 | rte_ml_dev_info_get(opt->dev_id, &dev_info); |
| 77 | if (dev_info.max_models == 0) { |
| 78 | ml_err("Not enough mldev models supported = %u", dev_info.max_models); |
| 79 | return false; |
| 80 | } |
| 81 | |
| 82 | return true; |
| 83 | } |
| 84 | |
| 85 | int |
| 86 | ml_test_opt_check(struct ml_options *opt) |
no test coverage detected