diff options
author | Dmitry Savenko <dsavenko@xored.com> | 2017-11-20 22:00:08 +0700 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | d7295b7079f6b9126596cea998146ca9c6e87706 (patch) | |
tree | bcefca66765ec120090c437621388debe70ae21d /src/core/CL/cl_kernels/helpers_asymm.h | |
parent | 900b78f599ea5997d60e7538831a906b92265ae0 (diff) | |
download | ComputeLibrary-d7295b7079f6b9126596cea998146ca9c6e87706.tar.gz |
COMPMID-661: Add QASYMM8 support (and basic tests) to CLDepthwiseConvolution3x3 kernel (#28)
Change-Id: I51bebe74e3814c1245812ad575fe7854d460674f
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/109864
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/cl_kernels/helpers_asymm.h')
-rw-r--r-- | src/core/CL/cl_kernels/helpers_asymm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/CL/cl_kernels/helpers_asymm.h b/src/core/CL/cl_kernels/helpers_asymm.h index 3c1d58bda1..b44d0f1fd2 100644 --- a/src/core/CL/cl_kernels/helpers_asymm.h +++ b/src/core/CL/cl_kernels/helpers_asymm.h @@ -44,6 +44,7 @@ return (x >> exponent) + select(zero, one, (x & mask) > threshold); \ } +ASYMM_ROUNDING_DIVIDE_BY_POW2_IMPL(2) ASYMM_ROUNDING_DIVIDE_BY_POW2_IMPL(8) ASYMM_ROUNDING_DIVIDE_BY_POW2_IMPL(16) @@ -80,6 +81,7 @@ ASYMM_ROUNDING_DIVIDE_BY_POW2_IMPL(16) return select(ab_x2_high32, INT_MAX, overflow); \ } +ASYMM_MULT_IMP(2) ASYMM_MULT_IMP(8) ASYMM_MULT_IMP(16) |