aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/CLHelpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/CL/CLHelpers.cpp')
-rw-r--r--src/core/CL/CLHelpers.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/CL/CLHelpers.cpp b/src/core/CL/CLHelpers.cpp
index 0e83ff20c8..de78786eb4 100644
--- a/src/core/CL/CLHelpers.cpp
+++ b/src/core/CL/CLHelpers.cpp
@@ -117,6 +117,11 @@ bool dot8_supported(const cl::Device &device)
return device_supports_extension(device, "cl_arm_integer_dot_product_int8");
}
+bool dot8_acc_supported(const cl::Device &device)
+{
+ return device_supports_extension(device, "cl_arm_integer_dot_product_accumulate_int8");
+}
+
CLVersion get_cl_version(const cl::Device &device)
{
std::string version_str = device.getInfo<CL_DEVICE_VERSION>();