diff options
author | Sheri Zhang <sheri.zhang@arm.com> | 2020-11-05 10:43:37 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-11-10 10:44:47 +0000 |
commit | d80792a2d342439d5577b9bc0c9410fbeb70ea5d (patch) | |
tree | f42a83af63ce945a24deb5ebe0911da874c69963 /arm_compute/core/TensorShape.h | |
parent | 030762611478edfb3c371da6b2249b415178ccc1 (diff) | |
download | ComputeLibrary-d80792a2d342439d5577b9bc0c9410fbeb70ea5d.tar.gz |
COMPMID-3887: NEGEMMConvolutionLayer hangs up on num_threads>18
When store the Tensor shape information, the size was clamped to 32bit, which cause the memory allocated is not big enough.
Signed-off-by: Sheri Zhang <sheri.zhang@arm.com>
Change-Id: I9f7dfcd5595a143b0ed4f6973e20bcd9d776b673
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4331
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'arm_compute/core/TensorShape.h')
-rw-r--r-- | arm_compute/core/TensorShape.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arm_compute/core/TensorShape.h b/arm_compute/core/TensorShape.h index 218774360e..b455a07767 100644 --- a/arm_compute/core/TensorShape.h +++ b/arm_compute/core/TensorShape.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2019 Arm Limited. + * Copyright (c) 2016-2020 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -36,7 +36,7 @@ namespace arm_compute { /** Shape of a tensor */ -class TensorShape : public Dimensions<uint32_t> +class TensorShape : public Dimensions<size_t> { public: /** Constructor to initialize the tensor shape. |