aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/CLKernelLibrary.cpp
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2018-01-15 14:39:13 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:52:54 +0000
commite03342e3ba78ecf5b9128339dd47c30e00cb8565 (patch)
tree49a5456b056086385585149704725f4fdf516f32 /src/core/CL/CLKernelLibrary.cpp
parent513fe2e80512091c22af3204053dbd53f8ccf12b (diff)
downloadComputeLibrary-e03342e3ba78ecf5b9128339dd47c30e00cb8565.tar.gz
COMPMID-799 - Use new OpenCL 8-bit dot product instruction
Change-Id: I03d6c6db13bcb565f117725bdab2b68c89a49e21 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/122185 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'src/core/CL/CLKernelLibrary.cpp')
-rw-r--r--src/core/CL/CLKernelLibrary.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/CL/CLKernelLibrary.cpp b/src/core/CL/CLKernelLibrary.cpp
index cdde7ef75a..b4531b841b 100644
--- a/src/core/CL/CLKernelLibrary.cpp
+++ b/src/core/CL/CLKernelLibrary.cpp
@@ -753,6 +753,11 @@ Kernel CLKernelLibrary::create_kernel(const std::string &kernel_name, const Stri
concat_str += " -DARM_COMPUTE_OPENCL_FP16_ENABLED=1 ";
}
+ if(dot8_supported(_device))
+ {
+ concat_str += " -DARM_COMPUTE_OPENCL_DOT8_ENABLED=1 ";
+ }
+
if(get_cl_version(_device) == CLVersion::CL20)
{
concat_str += " -cl-std=CL2.0 ";