check that gpu_version belong to range min_version-max_version min_version is included and max_version is excluded.
| 136 | // check that gpu_version belong to range min_version-max_version |
| 137 | // min_version is included and max_version is excluded. |
| 138 | bool isGPUVersionInRange(int gpu_version, int min_version, int max_version) { |
| 139 | return gpu_version >= min_version && gpu_version < max_version; |
| 140 | } |
| 141 | } // namespace |
| 142 | |
| 143 | // There is no rule for gpu version encoding, but we found these samples: |
no outgoing calls
no test coverage detected