aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-05-08 18:58:19 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:51:17 +0000
commitd8cde8582a2a87959c9ca40fb23cf84328727d06 (patch)
treef332411effa70f094fe8649ea0b767349a0d2457 /src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
parentbb36a8efc1092f66798e3b880c55ec488021bb02 (diff)
downloadComputeLibrary-d8cde8582a2a87959c9ca40fb23cf84328727d06.tar.gz
COMPMID-959: Assembly kernel marks weights as unused when pretranspose
Change-Id: I15943c4c97457f4cc9bff3bb1cce8ad9a8d9ed38 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/130474 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp')
-rw-r--r--src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp b/src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
index 1ffeaf227d..5a35463365 100644
--- a/src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
+++ b/src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
@@ -561,7 +561,7 @@ void NEGEMMConvolutionLayer::run()
{
_asm_glue.run();
// Release weights in case buffer is pretransposed
- if(_B_pretransposed.buffer() != nullptr && _weights_reshaped.is_used())
+ if(!_weights_reshaped.is_used())
{
_weights_reshaped.allocator()->free();
}