diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-01-23 11:24:50 +0000 |
---|---|---|
committer | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-01-24 10:19:46 +0000 |
commit | 1d480652b820317fc97ccbc3cb517e3b9e8be197 (patch) | |
tree | b3c845ec02cccf89430b95186ed3e3f2ae65e2bd /src/core/NEON/kernels/arm_gemm/utils.hpp | |
parent | 20b527a7029d02d0edda78fd92002cbc430dbe05 (diff) | |
download | ComputeLibrary-1d480652b820317fc97ccbc3cb517e3b9e8be197.tar.gz |
COMPMID-1867: Add u8 and s8 hybrid assembly kernels.
Change-Id: Ifeb005f9d18d19feff11949474cce84d9e03749c
Reviewed-on: https://review.mlplatform.org/565
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/arm_gemm/utils.hpp')
-rw-r--r-- | src/core/NEON/kernels/arm_gemm/utils.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/NEON/kernels/arm_gemm/utils.hpp b/src/core/NEON/kernels/arm_gemm/utils.hpp index 8b96c328a6..f0707800cf 100644 --- a/src/core/NEON/kernels/arm_gemm/utils.hpp +++ b/src/core/NEON/kernels/arm_gemm/utils.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2019 ARM Limited. + * Copyright (c) 2017-2019 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -32,7 +32,8 @@ // Paranoid option for the above with assert // #define UNREACHABLE(why) assert(0 && why) -inline int iceildiv(const int a, const int b) { +template<typename T> +inline T iceildiv(const T a, const T b) { return (a + b - 1) / b; } |