From 3673839cde43cc82c186a196c7e1ce3155457b0e Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Wed, 28 Oct 2020 19:23:09 +0000 Subject: COMPMID-3929: Add method to get CL program binaries Signed-off-by: Michalis Spyrou Change-Id: I437ba17ff713c003a1edf7efa9d07049f1af305e Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/c/VisualCompute/ComputeLibrary/+/272734 Tested-by: bsgcomp Reviewed-by: Manuel Bottini Comments-Addressed: bsgcomp Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4283 Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- arm_compute/core/CL/CLCompileContext.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arm_compute/core/CL/CLCompileContext.h b/arm_compute/core/CL/CLCompileContext.h index f54fd0186a..6f6dc18b85 100644 --- a/arm_compute/core/CL/CLCompileContext.h +++ b/arm_compute/core/CL/CLCompileContext.h @@ -118,6 +118,14 @@ public: { return _name; } + /** Returns program binary data. + * + * @return Program's binary data. + */ + const std::vector &binary() const + { + return _binary; + } /** User-defined conversion to the underlying CL program. * * @return The CL program object. -- cgit v1.2.1