| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Recompiler (Apache SystemDS 3.2.0-SNAPSHOT API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../jquery/jquery-3.6.0.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-ui.min.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Recompiler (Apache SystemDS 3.2.0-SNAPSHOT API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Recompiler.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.sysds.hops.recompile</a></div> |
| <h2 title="Class Recompiler" class="title">Class Recompiler</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.sysds.hops.recompile.Recompiler</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <pre>public class <span class="typeNameLabel">Recompiler</span> |
| extends <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></pre> |
| <div class="block">Dynamic recompilation of hop dags to runtime instructions, which includes the |
| following substeps: |
| |
| (1) deep copy hop dag, (2) refresh matrix characteristics, (3) apply |
| dynamic rewrites, (4) refresh memory estimates, (5) construct lops (incl |
| operator selection), and (6) generate runtime program (incl piggybacking).</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Recompiler.ResetType.html" title="enum in org.apache.sysds.hops.recompile">Recompiler.ResetType</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">Recompiler</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkCPCheckpoint(org.apache.sysds.runtime.meta.DataCharacteristics)">checkCPCheckpoint</a></span>​(<a href="../../runtime/meta/DataCharacteristics.html" title="class in org.apache.sysds.runtime.meta">DataCharacteristics</a> dc)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkCPReblock(org.apache.sysds.runtime.controlprogram.context.ExecutionContext,java.lang.String)">checkCPReblock</a></span>​(<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a> ec, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> varin)</code></th> |
| <td class="colLast"> |
| <div class="block">CP Reblock check for spark instructions; in contrast to MR, we can not |
| rely on the input file sizes because inputs might be passed via rdds.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deepCopyHopsDag(java.util.List)">deepCopyHopsDag</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops)</code></th> |
| <td class="colLast"> |
| <div class="block">Deep copy of hops dags for parallel recompilation.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deepCopyHopsDag(org.apache.sysds.hops.Hop)">deepCopyHopsDag</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hops)</code></th> |
| <td class="colLast"> |
| <div class="block">Deep copy of hops dags for parallel recompilation.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#executeInMemoryReblock(org.apache.sysds.runtime.controlprogram.context.ExecutionContext,java.lang.String,java.lang.String)">executeInMemoryReblock</a></span>​(<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a> ec, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> varin, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> varout)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#executeInMemoryReblock(org.apache.sysds.runtime.controlprogram.context.ExecutionContext,java.lang.String,java.lang.String,org.apache.sysds.runtime.lineage.LineageItem)">executeInMemoryReblock</a></span>​(<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a> ec, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> varin, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> varout, |
| <a href="../../runtime/lineage/LineageItem.html" title="class in org.apache.sysds.runtime.lineage">LineageItem</a> litem)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#extractDAGOutputStatistics(java.util.ArrayList,org.apache.sysds.runtime.controlprogram.LocalVariableMap)">extractDAGOutputStatistics</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#extractDAGOutputStatistics(java.util.ArrayList,org.apache.sysds.runtime.controlprogram.LocalVariableMap,boolean)">extractDAGOutputStatistics</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars, |
| boolean overwrite)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#extractDAGOutputStatistics(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap,boolean)">extractDAGOutputStatistics</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars, |
| boolean overwrite)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rClearLops(org.apache.sysds.hops.Hop)">rClearLops</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop)</code></th> |
| <td class="colLast"> |
| <div class="block">Clearing lops for a given hops includes to (1) remove the reference |
| to constructed lops and (2) clear the exec type (for consistency).</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileHopsDag(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.hops.recompile.RecompileStatus,boolean,boolean,long)">recompileHopsDag</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars, |
| <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> status, |
| boolean inplace, |
| boolean replaceLit, |
| long tid)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileHopsDag(org.apache.sysds.parser.StatementBlock,java.util.ArrayList,org.apache.sysds.runtime.controlprogram.context.ExecutionContext,org.apache.sysds.hops.recompile.RecompileStatus,boolean,boolean,long)">recompileHopsDag</a></span>​(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| <a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a> ec, |
| <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> status, |
| boolean inplace, |
| boolean replaceLit, |
| long tid)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileHopsDag(org.apache.sysds.parser.StatementBlock,java.util.ArrayList,org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.hops.recompile.RecompileStatus,boolean,boolean,long)">recompileHopsDag</a></span>​(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars, |
| <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> status, |
| boolean inplace, |
| boolean replaceLit, |
| long tid)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileHopsDag2Forced(org.apache.sysds.hops.Hop,long,org.apache.sysds.common.Types.ExecType)">recompileHopsDag2Forced</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| long tid, |
| <a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a> et)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileHopsDag2Forced(org.apache.sysds.parser.StatementBlock,java.util.ArrayList,long,org.apache.sysds.common.Types.ExecType)">recompileHopsDag2Forced</a></span>​(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| long tid, |
| <a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a> et)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileHopsDagInstructions(org.apache.sysds.hops.Hop)">recompileHopsDagInstructions</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileHopsDagInstructions(org.apache.sysds.parser.StatementBlock,java.util.ArrayList)">recompileHopsDagInstructions</a></span>​(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileProgramBlockHierarchy(java.util.ArrayList,org.apache.sysds.runtime.controlprogram.LocalVariableMap,long,boolean,org.apache.sysds.hops.recompile.Recompiler.ResetType)">recompileProgramBlockHierarchy</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>> pbs, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars, |
| long tid, |
| boolean inplace, |
| <a href="Recompiler.ResetType.html" title="enum in org.apache.sysds.hops.recompile">Recompiler.ResetType</a> resetRecompile)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileProgramBlockHierarchy2Forced(java.util.ArrayList,long,java.util.HashSet,org.apache.sysds.common.Types.ExecType)">recompileProgramBlockHierarchy2Forced</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>> pbs, |
| long tid, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/HashSet.html?is-external=true" title="class or interface in java.util" class="externalLink">HashSet</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> fnStack, |
| <a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a> et)</code></th> |
| <td class="colLast"> |
| <div class="block">Method to recompile program block hierarchy to forced execution time.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileProgramBlockInstructions(org.apache.sysds.runtime.controlprogram.ProgramBlock)">recompileProgramBlockInstructions</a></span>​(<a href="../../runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a> pb)</code></th> |
| <td class="colLast"> |
| <div class="block">This method does NO full program block recompile (no stats update, no rewrites, no recursion) but |
| only regenerates lops and instructions.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>static <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reconcileUpdatedCallVarsIf(org.apache.sysds.hops.recompile.RecompileStatus,org.apache.sysds.hops.recompile.RecompileStatus,org.apache.sysds.hops.recompile.RecompileStatus,org.apache.sysds.parser.StatementBlock)">reconcileUpdatedCallVarsIf</a></span>​(<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> oldStatus, |
| <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> callStatusIf, |
| <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> callStatusElse, |
| <a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reconcileUpdatedCallVarsIf(org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.parser.StatementBlock)">reconcileUpdatedCallVarsIf</a></span>​(<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> oldCallVars, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> callVarsIf, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> callVarsElse, |
| <a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reconcileUpdatedCallVarsLoops(org.apache.sysds.hops.recompile.RecompileStatus,org.apache.sysds.hops.recompile.RecompileStatus,org.apache.sysds.parser.StatementBlock)">reconcileUpdatedCallVarsLoops</a></span>​(<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> oldCallStatus, |
| <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> callStatus, |
| <a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reconcileUpdatedCallVarsLoops(org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.parser.StatementBlock)">reconcileUpdatedCallVarsLoops</a></span>​(<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> oldCallVars, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> callVars, |
| <a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reinitRecompiler()">reinitRecompiler</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Re-initializes the recompiler according to the current optimizer flags.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeUpdatedScalars(org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.parser.StatementBlock)">removeUpdatedScalars</a></span>​(<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> callVars, |
| <a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb)</code></th> |
| <td class="colLast"> |
| <div class="block">Remove any scalar variables from the variable map if the variable |
| is updated in this block.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#requiresRecompilation(java.util.ArrayList)">requiresRecompilation</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#requiresRecompilation(org.apache.sysds.hops.Hop)">requiresRecompilation</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rGetMaxParallelism(java.util.List)">rGetMaxParallelism</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rGetMaxParallelism(org.apache.sysds.hops.Hop)">rGetMaxParallelism</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rRecompileProgramBlock2Forced(org.apache.sysds.runtime.controlprogram.ProgramBlock,long,java.util.HashSet,org.apache.sysds.common.Types.ExecType)">rRecompileProgramBlock2Forced</a></span>​(<a href="../../runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a> pb, |
| long tid, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/HashSet.html?is-external=true" title="class or interface in java.util" class="externalLink">HashSet</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> fnStack, |
| <a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a> et)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rReplaceLiterals(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.context.ExecutionContext,boolean)">rReplaceLiterals</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| <a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a> ec, |
| boolean scalarsOnly)</code></th> |
| <td class="colLast"> |
| <div class="block">public interface to package local literal replacement</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rReplaceLiterals(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap,boolean)">rReplaceLiterals</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars, |
| boolean scalarsOnly)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rSetExecType(org.apache.sysds.hops.Hop,org.apache.sysds.common.Types.ExecType)">rSetExecType</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| <a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a> etype)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rSetMaxParallelism(java.util.List,int)">rSetMaxParallelism</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| int k)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rSetMaxParallelism(org.apache.sysds.hops.Hop,int)">rSetMaxParallelism</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| int k)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rUpdateFunctionNames(org.apache.sysds.hops.Hop,long)">rUpdateFunctionNames</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| long pid)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rUpdateStatistics(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap)">rUpdateStatistics</a></span>​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateFunctionNames(java.util.ArrayList,long)">updateFunctionNames</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| long pid)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>Recompiler</h4> |
| <pre>public Recompiler()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="reinitRecompiler()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reinitRecompiler</h4> |
| <pre class="methodSignature">public static void reinitRecompiler()</pre> |
| <div class="block">Re-initializes the recompiler according to the current optimizer flags.</div> |
| </li> |
| </ul> |
| <a id="recompileHopsDag(org.apache.sysds.parser.StatementBlock,java.util.ArrayList,org.apache.sysds.runtime.controlprogram.context.ExecutionContext,org.apache.sysds.hops.recompile.RecompileStatus,boolean,boolean,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>recompileHopsDag</h4> |
| <pre class="methodSignature">public static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>> recompileHopsDag​(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| <a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a> ec, |
| <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> status, |
| boolean inplace, |
| boolean replaceLit, |
| long tid)</pre> |
| </li> |
| </ul> |
| <a id="recompileHopsDag(org.apache.sysds.parser.StatementBlock,java.util.ArrayList,org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.hops.recompile.RecompileStatus,boolean,boolean,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>recompileHopsDag</h4> |
| <pre class="methodSignature">public static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>> recompileHopsDag​(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars, |
| <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> status, |
| boolean inplace, |
| boolean replaceLit, |
| long tid)</pre> |
| </li> |
| </ul> |
| <a id="recompileHopsDag(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.hops.recompile.RecompileStatus,boolean,boolean,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>recompileHopsDag</h4> |
| <pre class="methodSignature">public static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>> recompileHopsDag​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars, |
| <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> status, |
| boolean inplace, |
| boolean replaceLit, |
| long tid)</pre> |
| </li> |
| </ul> |
| <a id="recompileHopsDag2Forced(org.apache.sysds.parser.StatementBlock,java.util.ArrayList,long,org.apache.sysds.common.Types.ExecType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>recompileHopsDag2Forced</h4> |
| <pre class="methodSignature">public static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>> recompileHopsDag2Forced​(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| long tid, |
| <a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a> et)</pre> |
| </li> |
| </ul> |
| <a id="recompileHopsDag2Forced(org.apache.sysds.hops.Hop,long,org.apache.sysds.common.Types.ExecType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>recompileHopsDag2Forced</h4> |
| <pre class="methodSignature">public static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>> recompileHopsDag2Forced​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| long tid, |
| <a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a> et)</pre> |
| </li> |
| </ul> |
| <a id="recompileHopsDagInstructions(org.apache.sysds.parser.StatementBlock,java.util.ArrayList)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>recompileHopsDagInstructions</h4> |
| <pre class="methodSignature">public static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>> recompileHopsDagInstructions​(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops)</pre> |
| </li> |
| </ul> |
| <a id="recompileHopsDagInstructions(org.apache.sysds.hops.Hop)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>recompileHopsDagInstructions</h4> |
| <pre class="methodSignature">public static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>> recompileHopsDagInstructions​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop)</pre> |
| </li> |
| </ul> |
| <a id="recompileProgramBlockHierarchy(java.util.ArrayList,org.apache.sysds.runtime.controlprogram.LocalVariableMap,long,boolean,org.apache.sysds.hops.recompile.Recompiler.ResetType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>recompileProgramBlockHierarchy</h4> |
| <pre class="methodSignature">public static void recompileProgramBlockHierarchy​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>> pbs, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars, |
| long tid, |
| boolean inplace, |
| <a href="Recompiler.ResetType.html" title="enum in org.apache.sysds.hops.recompile">Recompiler.ResetType</a> resetRecompile)</pre> |
| </li> |
| </ul> |
| <a id="recompileProgramBlockHierarchy2Forced(java.util.ArrayList,long,java.util.HashSet,org.apache.sysds.common.Types.ExecType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>recompileProgramBlockHierarchy2Forced</h4> |
| <pre class="methodSignature">public static void recompileProgramBlockHierarchy2Forced​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../../runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>> pbs, |
| long tid, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/HashSet.html?is-external=true" title="class or interface in java.util" class="externalLink">HashSet</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> fnStack, |
| <a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a> et)</pre> |
| <div class="block">Method to recompile program block hierarchy to forced execution time. This affects also |
| referenced functions and chains of functions. Use et==null in order to release the forced |
| exec type.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pbs</code> - list of program blocks</dd> |
| <dd><code>tid</code> - thread id</dd> |
| <dd><code>fnStack</code> - function stack</dd> |
| <dd><code>et</code> - execution type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="recompileProgramBlockInstructions(org.apache.sysds.runtime.controlprogram.ProgramBlock)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>recompileProgramBlockInstructions</h4> |
| <pre class="methodSignature">public static void recompileProgramBlockInstructions​(<a href="../../runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a> pb) |
| throws <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre> |
| <div class="block">This method does NO full program block recompile (no stats update, no rewrites, no recursion) but |
| only regenerates lops and instructions. The primary use case is recompilation after are hop configuration |
| changes which allows to preserve statistics (e.g., propagated worst case stats from other program blocks) |
| and better performance for recompiling individual program blocks.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pb</code> - program block</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - if IOException occurs</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="requiresRecompilation(java.util.ArrayList)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>requiresRecompilation</h4> |
| <pre class="methodSignature">public static boolean requiresRecompilation​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops)</pre> |
| </li> |
| </ul> |
| <a id="requiresRecompilation(org.apache.sysds.hops.Hop)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>requiresRecompilation</h4> |
| <pre class="methodSignature">public static boolean requiresRecompilation​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop)</pre> |
| </li> |
| </ul> |
| <a id="deepCopyHopsDag(java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deepCopyHopsDag</h4> |
| <pre class="methodSignature">public static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> deepCopyHopsDag​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops)</pre> |
| <div class="block">Deep copy of hops dags for parallel recompilation.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>hops</code> - list of high-level operators</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>list of high-level operators</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="deepCopyHopsDag(org.apache.sysds.hops.Hop)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deepCopyHopsDag</h4> |
| <pre class="methodSignature">public static <a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> deepCopyHopsDag​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hops)</pre> |
| <div class="block">Deep copy of hops dags for parallel recompilation.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>hops</code> - high-level operator</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>high-level operator</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="updateFunctionNames(java.util.ArrayList,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateFunctionNames</h4> |
| <pre class="methodSignature">public static void updateFunctionNames​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| long pid)</pre> |
| </li> |
| </ul> |
| <a id="rUpdateFunctionNames(org.apache.sysds.hops.Hop,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rUpdateFunctionNames</h4> |
| <pre class="methodSignature">public static void rUpdateFunctionNames​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| long pid)</pre> |
| </li> |
| </ul> |
| <a id="reconcileUpdatedCallVarsLoops(org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.parser.StatementBlock)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reconcileUpdatedCallVarsLoops</h4> |
| <pre class="methodSignature">public static boolean reconcileUpdatedCallVarsLoops​(<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> oldCallVars, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> callVars, |
| <a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb)</pre> |
| </li> |
| </ul> |
| <a id="reconcileUpdatedCallVarsLoops(org.apache.sysds.hops.recompile.RecompileStatus,org.apache.sysds.hops.recompile.RecompileStatus,org.apache.sysds.parser.StatementBlock)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reconcileUpdatedCallVarsLoops</h4> |
| <pre class="methodSignature">public static boolean reconcileUpdatedCallVarsLoops​(<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> oldCallStatus, |
| <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> callStatus, |
| <a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb)</pre> |
| </li> |
| </ul> |
| <a id="reconcileUpdatedCallVarsIf(org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.parser.StatementBlock)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reconcileUpdatedCallVarsIf</h4> |
| <pre class="methodSignature">public static <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> reconcileUpdatedCallVarsIf​(<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> oldCallVars, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> callVarsIf, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> callVarsElse, |
| <a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb)</pre> |
| </li> |
| </ul> |
| <a id="reconcileUpdatedCallVarsIf(org.apache.sysds.hops.recompile.RecompileStatus,org.apache.sysds.hops.recompile.RecompileStatus,org.apache.sysds.hops.recompile.RecompileStatus,org.apache.sysds.parser.StatementBlock)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reconcileUpdatedCallVarsIf</h4> |
| <pre class="methodSignature">public static <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> reconcileUpdatedCallVarsIf​(<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> oldStatus, |
| <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> callStatusIf, |
| <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a> callStatusElse, |
| <a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb)</pre> |
| </li> |
| </ul> |
| <a id="rRecompileProgramBlock2Forced(org.apache.sysds.runtime.controlprogram.ProgramBlock,long,java.util.HashSet,org.apache.sysds.common.Types.ExecType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rRecompileProgramBlock2Forced</h4> |
| <pre class="methodSignature">public static void rRecompileProgramBlock2Forced​(<a href="../../runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a> pb, |
| long tid, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/HashSet.html?is-external=true" title="class or interface in java.util" class="externalLink">HashSet</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> fnStack, |
| <a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a> et)</pre> |
| </li> |
| </ul> |
| <a id="removeUpdatedScalars(org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.parser.StatementBlock)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeUpdatedScalars</h4> |
| <pre class="methodSignature">public static void removeUpdatedScalars​(<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> callVars, |
| <a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a> sb)</pre> |
| <div class="block">Remove any scalar variables from the variable map if the variable |
| is updated in this block.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>callVars</code> - Map of variables eligible for propagation.</dd> |
| <dd><code>sb</code> - DML statement block.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="extractDAGOutputStatistics(java.util.ArrayList,org.apache.sysds.runtime.controlprogram.LocalVariableMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>extractDAGOutputStatistics</h4> |
| <pre class="methodSignature">public static void extractDAGOutputStatistics​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars)</pre> |
| </li> |
| </ul> |
| <a id="extractDAGOutputStatistics(java.util.ArrayList,org.apache.sysds.runtime.controlprogram.LocalVariableMap,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>extractDAGOutputStatistics</h4> |
| <pre class="methodSignature">public static void extractDAGOutputStatistics​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars, |
| boolean overwrite)</pre> |
| </li> |
| </ul> |
| <a id="extractDAGOutputStatistics(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>extractDAGOutputStatistics</h4> |
| <pre class="methodSignature">public static void extractDAGOutputStatistics​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars, |
| boolean overwrite)</pre> |
| </li> |
| </ul> |
| <a id="rClearLops(org.apache.sysds.hops.Hop)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rClearLops</h4> |
| <pre class="methodSignature">public static void rClearLops​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop)</pre> |
| <div class="block">Clearing lops for a given hops includes to (1) remove the reference |
| to constructed lops and (2) clear the exec type (for consistency). |
| |
| The latter is important for advanced optimizers like parfor; otherwise subtle |
| side-effects of program recompilation and hop-lop rewrites possible |
| (e.g., see indexingop hop-lop rewrite in combination parfor rewrite set |
| exec type that eventuelly might lead to unnecessary remote_parfor jobs).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>hop</code> - high-level operator</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="rUpdateStatistics(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rUpdateStatistics</h4> |
| <pre class="methodSignature">public static void rUpdateStatistics​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars)</pre> |
| </li> |
| </ul> |
| <a id="rReplaceLiterals(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.context.ExecutionContext,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rReplaceLiterals</h4> |
| <pre class="methodSignature">public static void rReplaceLiterals​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| <a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a> ec, |
| boolean scalarsOnly)</pre> |
| <div class="block">public interface to package local literal replacement</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>hop</code> - high-level operator</dd> |
| <dd><code>ec</code> - Execution context</dd> |
| <dd><code>scalarsOnly</code> - if true, replace only scalar variables but no matrix operations; |
| if false, apply full literal replacement</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="rReplaceLiterals(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rReplaceLiterals</h4> |
| <pre class="methodSignature">public static void rReplaceLiterals​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a> vars, |
| boolean scalarsOnly)</pre> |
| </li> |
| </ul> |
| <a id="rSetExecType(org.apache.sysds.hops.Hop,org.apache.sysds.common.Types.ExecType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rSetExecType</h4> |
| <pre class="methodSignature">public static void rSetExecType​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| <a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a> etype)</pre> |
| </li> |
| </ul> |
| <a id="rGetMaxParallelism(java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rGetMaxParallelism</h4> |
| <pre class="methodSignature">public static int rGetMaxParallelism​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops)</pre> |
| </li> |
| </ul> |
| <a id="rGetMaxParallelism(org.apache.sysds.hops.Hop)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rGetMaxParallelism</h4> |
| <pre class="methodSignature">public static int rGetMaxParallelism​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop)</pre> |
| </li> |
| </ul> |
| <a id="rSetMaxParallelism(java.util.List,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rSetMaxParallelism</h4> |
| <pre class="methodSignature">public static void rSetMaxParallelism​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>> hops, |
| int k)</pre> |
| </li> |
| </ul> |
| <a id="rSetMaxParallelism(org.apache.sysds.hops.Hop,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rSetMaxParallelism</h4> |
| <pre class="methodSignature">public static void rSetMaxParallelism​(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a> hop, |
| int k)</pre> |
| </li> |
| </ul> |
| <a id="checkCPReblock(org.apache.sysds.runtime.controlprogram.context.ExecutionContext,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkCPReblock</h4> |
| <pre class="methodSignature">public static boolean checkCPReblock​(<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a> ec, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> varin)</pre> |
| <div class="block">CP Reblock check for spark instructions; in contrast to MR, we can not |
| rely on the input file sizes because inputs might be passed via rdds.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>ec</code> - execution context</dd> |
| <dd><code>varin</code> - variable</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if CP reblock?</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="checkCPCheckpoint(org.apache.sysds.runtime.meta.DataCharacteristics)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkCPCheckpoint</h4> |
| <pre class="methodSignature">public static boolean checkCPCheckpoint​(<a href="../../runtime/meta/DataCharacteristics.html" title="class in org.apache.sysds.runtime.meta">DataCharacteristics</a> dc)</pre> |
| </li> |
| </ul> |
| <a id="executeInMemoryReblock(org.apache.sysds.runtime.controlprogram.context.ExecutionContext,java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>executeInMemoryReblock</h4> |
| <pre class="methodSignature">public static void executeInMemoryReblock​(<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a> ec, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> varin, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> varout)</pre> |
| </li> |
| </ul> |
| <a id="executeInMemoryReblock(org.apache.sysds.runtime.controlprogram.context.ExecutionContext,java.lang.String,java.lang.String,org.apache.sysds.runtime.lineage.LineageItem)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>executeInMemoryReblock</h4> |
| <pre class="methodSignature">public static void executeInMemoryReblock​(<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a> ec, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> varin, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> varout, |
| <a href="../../runtime/lineage/LineageItem.html" title="class in org.apache.sysds.runtime.lineage">LineageItem</a> litem)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Recompiler.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |