From d8cde8582a2a87959c9ca40fb23cf84328727d06 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 8 May 2018 18:58:19 +0100 Subject: 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 Reviewed-by: Anthony Barbier --- arm_compute/graph/backends/ValidateHelpers.h | 1 - arm_compute/runtime/NEON/AssemblyHelper.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'arm_compute') diff --git a/arm_compute/graph/backends/ValidateHelpers.h b/arm_compute/graph/backends/ValidateHelpers.h index 68a718ab97..c1b87ee0c0 100644 --- a/arm_compute/graph/backends/ValidateHelpers.h +++ b/arm_compute/graph/backends/ValidateHelpers.h @@ -103,7 +103,6 @@ Status validate_convolution_layer(ConvolutionLayerNode &node) // If validation fails try the Default approach if(!bool(status) || (conv_algorithm == ConvolutionMethod::DEFAULT)) { - std::cout << status.error_description() << std::endl; status = ConvolutionLayer::validate(input, weights, biases, output, conv_info); if(bool(status)) { diff --git a/arm_compute/runtime/NEON/AssemblyHelper.h b/arm_compute/runtime/NEON/AssemblyHelper.h index ee09ef531e..39c20fab00 100644 --- a/arm_compute/runtime/NEON/AssemblyHelper.h +++ b/arm_compute/runtime/NEON/AssemblyHelper.h @@ -100,6 +100,7 @@ public: { ARM_COMPUTE_ERROR_ON(_pretranspose == nullptr || _pretranspose->buffer() == nullptr); _gemm_kernel_asm->pretranspose_B_array(reinterpret_cast(_pretranspose->buffer()), in1_ptr, ldb, multi_stride_b); + _b->mark_as_unused(); } NEScheduler::get().schedule(_optimised_kernel.get(), Window::DimX); -- cgit v1.2.1