| 240 | } |
| 241 | |
| 242 | bool dot8_supported(const cl::Device &device) |
| 243 | { |
| 244 | std::string device_name = device.getInfo<CL_DEVICE_NAME>(); |
| 245 | const GPUTarget gpu_target = get_target_from_name(device_name); |
| 246 | |
| 247 | // SW_WORKAROUND: Workaround for DDK revision r14p0.to enable cl_arm_integer_dot_product_int8 |
| 248 | std::set<GPUTarget> sw_workaround_issue = {GPUTarget::G76}; |
| 249 | return (device_supports_extension(device, "cl_arm_integer_dot_product_int8") || |
| 250 | sw_workaround_issue.count(gpu_target) != 0); |
| 251 | } |
| 252 | |
| 253 | bool dot8_acc_supported(const cl::Device &device) |
| 254 | { |
no test coverage detected