aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2020-10-28 19:23:09 +0000
committerMichalis Spyrou <michalis.spyrou@arm.com>2020-10-29 15:48:00 +0000
commit3673839cde43cc82c186a196c7e1ce3155457b0e (patch)
treec474ea15d3f855c05f4de95345ebe9c0de20230b
parent4968285c4a77dcf62a0fdf9d1d5134628c70086a (diff)
downloadComputeLibrary-3673839cde43cc82c186a196c7e1ce3155457b0e.tar.gz
COMPMID-3929: Add method to get CL program binaries
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Change-Id: I437ba17ff713c003a1edf7efa9d07049f1af305e Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/c/VisualCompute/ComputeLibrary/+/272734 Tested-by: bsgcomp <bsgcomp@arm.com> Reviewed-by: Manuel Bottini <manuel.bottini@arm.com> Comments-Addressed: bsgcomp <bsgcomp@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4283 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
-rw-r--r--arm_compute/core/CL/CLCompileContext.h8
1 files changed, 8 insertions, 0 deletions
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<unsigned char> &binary() const
+ {
+ return _binary;
+ }
/** User-defined conversion to the underlying CL program.
*
* @return The CL program object.