| 176 | } |
| 177 | |
| 178 | bool UseFP16SIMD(const CLDevice& device, CalculationsPrecision precision, |
| 179 | bool kernel1x1) { |
| 180 | if (!device.IsAdreno()) { |
| 181 | return false; |
| 182 | } |
| 183 | switch (precision) { |
| 184 | case CalculationsPrecision::F32: |
| 185 | case CalculationsPrecision::F32_F16: |
| 186 | return false; |
| 187 | case CalculationsPrecision::F16: |
| 188 | return device.IsAdreno3xx() && kernel1x1; |
| 189 | } |
| 190 | } |
| 191 | } // namespace |
| 192 | |
| 193 | ConvTexture::ConvTexture(const OperationDef& definition, |
no test coverage detected