diff options
Diffstat (limited to 'src/core/CL/CLHelpers.cpp')
-rw-r--r-- | src/core/CL/CLHelpers.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/CL/CLHelpers.cpp b/src/core/CL/CLHelpers.cpp index 5c435ddc22..0947d58973 100644 --- a/src/core/CL/CLHelpers.cpp +++ b/src/core/CL/CLHelpers.cpp @@ -144,7 +144,12 @@ bool fp16_supported(const cl::Device &device) bool dot8_supported(const cl::Device &device) { - return device_supports_extension(device, "cl_arm_integer_dot_product_int8"); + std::string device_name = device.getInfo<CL_DEVICE_NAME>(); + const GPUTarget gpu_target = get_target_from_name(device_name); + + // SW_WORKAROUND: Workaround for DDK revision r14p0.to enable cl_arm_integer_dot_product_int8 + std::set<GPUTarget> sw_workaround_issue = {GPUTarget::G76}; + return (device_supports_extension(device, "cl_arm_integer_dot_product_int8") || sw_workaround_issue.count(gpu_target) != 0); } bool dot8_acc_supported(const cl::Device &device) |