diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-09-04 20:20:56 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-09-07 12:37:27 +0000 |
commit | 8a14b2ca62c43a2691066ce374949c2501ae8315 (patch) | |
tree | dc262d9b720ca1caadcc39ee065e66502889e354 /src/graph/nodes | |
parent | 903f8cca78502a9e3835e6ec42caa1f816274600 (diff) | |
download | ComputeLibrary-8a14b2ca62c43a2691066ce374949c2501ae8315.tar.gz |
COMPMID-3748: Compiler issue with Bfloat16 on gcc8
Treat bf16 memory on memset as raw memory by casting to void*. This
hides the class-memaccess warning and is safe for the current class
layout of arm_compute::bfloat16
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I5e242827d3737b4491d29abe7570eefee5b6edc1
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3928
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/graph/nodes')
-rw-r--r-- | src/graph/nodes/DepthToSpaceLayerNode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph/nodes/DepthToSpaceLayerNode.cpp b/src/graph/nodes/DepthToSpaceLayerNode.cpp index 785e850533..b70ac56a07 100644 --- a/src/graph/nodes/DepthToSpaceLayerNode.cpp +++ b/src/graph/nodes/DepthToSpaceLayerNode.cpp @@ -53,7 +53,7 @@ TensorDescriptor DepthToSpaceLayerNode::compute_output_descriptor(const TensorDe // Set descriptor shape TensorDescriptor output_descriptor = input_descriptor; - output_descriptor.shape = compute_depth_to_space_output_shape(input_shape, data_layout, block_shape); + output_descriptor.shape = misc::shape_calculator::compute_depth_to_space_shape(input_shape, data_layout, block_shape); return output_descriptor; } |