aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.