commit | 3673839cde43cc82c186a196c7e1ce3155457b0e | [log] [tgz] |
---|---|---|
author | Michalis Spyrou <michalis.spyrou@arm.com> | Wed Oct 28 19:23:09 2020 +0000 |
committer | Michalis Spyrou <michalis.spyrou@arm.com> | Thu Oct 29 15:48:00 2020 +0000 |
tree | c474ea15d3f855c05f4de95345ebe9c0de20230b | |
parent | 4968285c4a77dcf62a0fdf9d1d5134628c70086a [diff] [blame] |
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>
diff --git a/arm_compute/core/CL/CLCompileContext.h b/arm_compute/core/CL/CLCompileContext.h index f54fd01..6f6dc18 100644 --- a/arm_compute/core/CL/CLCompileContext.h +++ b/arm_compute/core/CL/CLCompileContext.h
@@ -118,6 +118,14 @@ { 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.