Repository: systemml Updated Branches: refs/heads/master f4efd99a4 -> 4add81b04
[MINOR] Extended JMLC API (obtain current config of prepared scripts) Project: http://git-wip-us.apache.org/repos/asf/systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/4add81b0 Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/4add81b0 Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/4add81b0 Branch: refs/heads/master Commit: 4add81b0443c9150c946e0d46196d5a90df3525c Parents: f4efd99 Author: Matthias Boehm <[email protected]> Authored: Sun Feb 11 19:20:03 2018 -0800 Committer: Matthias Boehm <[email protected]> Committed: Sun Feb 11 19:20:03 2018 -0800 ---------------------------------------------------------------------- .../apache/sysml/api/jmlc/PreparedScript.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/systemml/blob/4add81b0/src/main/java/org/apache/sysml/api/jmlc/PreparedScript.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/sysml/api/jmlc/PreparedScript.java b/src/main/java/org/apache/sysml/api/jmlc/PreparedScript.java index d52875a..70a3eb8 100644 --- a/src/main/java/org/apache/sysml/api/jmlc/PreparedScript.java +++ b/src/main/java/org/apache/sysml/api/jmlc/PreparedScript.java @@ -140,6 +140,26 @@ public class PreparedScript implements ConfigurableAPI } /** + * Get the dml configuration object associated with + * the prepared script instance. + * + * @return dml configuration + */ + public DMLConfig getDMLConfig() { + return _dmlconf; + } + + /** + * Get the compiler configuration object associated with + * the prepared script instance. + * + * @return compiler configuration + */ + public CompilerConfig getCompilerConfig() { + return _cconf; + } + + /** * Binds a scalar boolean to a registered input variable. * * @param varname input variable name
