From b46702118eddcfec11487be8dd23234066642d62 Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Fri, 18 May 2018 16:55:39 +0100 Subject: COMPMID-1181: Support for tracing configuration This patch adds support for tracing function and kernel configuration arguments. The trace is printed to stdout. To enable tracing run the script: scripts/enable_tracing.py and recompile the library with tracing=1. Change-Id: If6626785e263d9023899b20e175a53652d70a605 Signed-off-by: morgolock Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2712 Tested-by: Arm Jenkins Reviewed-by: Sang-Hoon Park Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins --- Android.bp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Android.bp') diff --git a/Android.bp b/Android.bp index 7993985583..6acc1a71e7 100644 --- a/Android.bp +++ b/Android.bp @@ -54,6 +54,7 @@ cc_library_static { "src/core/CL/CLCoreRuntimeContext.cpp", "src/core/CL/CLHelpers.cpp", "src/core/CL/CLKernelLibrary.cpp", + "src/core/CL/CLTracePoint.cpp", "src/core/CL/ICLDistribution1D.cpp", "src/core/CL/ICLHOG.cpp", "src/core/CL/ICLKernel.cpp", @@ -228,6 +229,7 @@ cc_library_static { "src/core/IKernel.cpp", "src/core/ITensor.cpp", "src/core/MultiImageInfo.cpp", + "src/core/NEON/NETracePoint.cpp", "src/core/NEON/kernels/NEAbsoluteDifferenceKernel.cpp", "src/core/NEON/kernels/NEAccumulateKernel.cpp", "src/core/NEON/kernels/NEActivationLayerKernel.cpp", @@ -402,6 +404,7 @@ cc_library_static { "src/core/Rounding.cpp", "src/core/SubTensorInfo.cpp", "src/core/TensorInfo.cpp", + "src/core/TracePoint.cpp", "src/core/Utils.cpp", "src/core/Validate.cpp", "src/core/Version.cpp", @@ -435,6 +438,7 @@ cc_library_static { "src/runtime/CL/CLTensorAllocator.cpp", "src/runtime/CL/CLTuner.cpp", "src/runtime/CL/ICLSimpleFunction.cpp", + "src/runtime/CL/TracePoint.cpp", "src/runtime/CL/functions/CLAbsoluteDifference.cpp", "src/runtime/CL/functions/CLAccumulate.cpp", "src/runtime/CL/functions/CLActivationLayer.cpp", @@ -734,6 +738,7 @@ cc_library_static { "src/runtime/SubTensor.cpp", "src/runtime/Tensor.cpp", "src/runtime/TensorAllocator.cpp", + "src/runtime/TracePoint.cpp", "src/runtime/Utils.cpp", "utils/CommonGraphOptions.cpp", "utils/GraphUtils.cpp", -- cgit v1.2.1