Skip to content

Commit

Permalink
deploy: 041bc78
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstafi committed Nov 4, 2024
1 parent 1f0a64a commit 1b4c9e6
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 31 deletions.
5 changes: 4 additions & 1 deletion dev/arrayjit/Arrayjit/Assignments/index.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Backend_impl_common (arrayjit.Arrayjit.Backend_impl.Backend_impl_common)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../../index.html">arrayjit</a> &#x00BB; <a href="../../index.html">Arrayjit</a> &#x00BB; <a href="../index.html">Backend_impl</a> &#x00BB; Backend_impl_common</nav><header class="odoc-preamble"><h1>Module type <code><span>Backend_impl.Backend_impl_common</span></code></h1><p>Parts shared by backend implementations excluding what's already in <code>Backend_any_common</code>, except for <code>Buffer</code> which is duplicated for technical reasons.</p></header><div class="odoc-content"><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../Backend_intf/module-type-Buffer/index.html">Backend_intf.Buffer</a></span></code></summary><div class="odoc-spec"><div class="spec type anchored" id="type-buffer_ptr"><a href="#type-buffer_ptr" class="anchor"></a><code><span><span class="keyword">type</span> buffer_ptr</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sexp_of_buffer_ptr"><a href="#val-sexp_of_buffer_ptr" class="anchor"></a><code><span><span class="keyword">val</span> sexp_of_buffer_ptr : <span><a href="#type-buffer_ptr">buffer_ptr</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Sexplib0</span>.Sexp.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-c_ptr_to_string"><a href="#val-c_ptr_to_string" class="anchor"></a><code><span><span class="keyword">val</span> c_ptr_to_string : <span><span>(<span><a href="#type-buffer_ptr">buffer_ptr</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../../Ops/index.html#type-prec">Ops.prec</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Base</span>.string)</span> <span class="xref-unresolved">Base</span>.option</span></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></summary><div class="odoc-spec"><div class="spec type anchored" id="type-buffer"><a href="#type-buffer" class="anchor"></a><code><span><span class="keyword">type</span> <span class="keyword">nonrec</span> buffer</span><span> = <span><a href="#type-buffer_ptr">buffer_ptr</a> <a href="../../Backend_intf/index.html#type-buffer">Backend_intf.buffer</a></span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sexp_of_buffer"><a href="#val-sexp_of_buffer" class="anchor"></a><code><span><span class="keyword">val</span> sexp_of_buffer : <span><a href="#type-buffer">buffer</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Sexplib0</span>.Sexp.t</span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-ctx_arrays"><a href="#type-ctx_arrays" class="anchor"></a><code><span><span class="keyword">type</span> <span class="keyword">nonrec</span> ctx_arrays</span><span> = <span><a href="#type-buffer_ptr">buffer_ptr</a> <a href="../../Backend_intf/index.html#type-ctx_arrays">Backend_intf.ctx_arrays</a></span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sexp_of_ctx_arrays"><a href="#val-sexp_of_ctx_arrays" class="anchor"></a><code><span><span class="keyword">val</span> sexp_of_ctx_arrays : <span><a href="#type-ctx_arrays">ctx_arrays</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Sexplib0</span>.Sexp.t</span></code></div></div></details></div></details></div><div class="odoc-spec"><div class="spec value anchored" id="val-is_in_context"><a href="#val-is_in_context" class="anchor"></a><code><span><span class="keyword">val</span> is_in_context : <span><a href="../../Low_level/index.html#type-traced_array">Low_level.traced_array</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Base</span>.bool</span></code></div><div class="spec-doc"><p>If true, the node is required to be in the contexts linked with code that uses it.</p><p>Should return false for nodes that are virtual, local, or which the backend prefers to access directly from the host.</p></div></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Backend_impl_common (arrayjit.Arrayjit.Backend_impl.Backend_impl_common)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../../index.html">arrayjit</a> &#x00BB; <a href="../../index.html">Arrayjit</a> &#x00BB; <a href="../index.html">Backend_impl</a> &#x00BB; Backend_impl_common</nav><header class="odoc-preamble"><h1>Module type <code><span>Backend_impl.Backend_impl_common</span></code></h1><p>Parts shared by backend implementations excluding what's already in <code>Backend_any_common</code>, except for <code>Buffer</code> which is duplicated for technical reasons.</p></header><div class="odoc-content"><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../Backend_intf/module-type-Buffer/index.html">Backend_intf.Buffer</a></span></code></summary><div class="odoc-spec"><div class="spec type anchored" id="type-buffer_ptr"><a href="#type-buffer_ptr" class="anchor"></a><code><span><span class="keyword">type</span> buffer_ptr</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sexp_of_buffer_ptr"><a href="#val-sexp_of_buffer_ptr" class="anchor"></a><code><span><span class="keyword">val</span> sexp_of_buffer_ptr : <span><a href="#type-buffer_ptr">buffer_ptr</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Sexplib0</span>.Sexp.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-c_ptr_to_string"><a href="#val-c_ptr_to_string" class="anchor"></a><code><span><span class="keyword">val</span> c_ptr_to_string : <span><span>(<span><a href="#type-buffer_ptr">buffer_ptr</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../../Ops/index.html#type-prec">Ops.prec</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Base</span>.string)</span> <span class="xref-unresolved">Base</span>.option</span></span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></summary><div class="odoc-spec"><div class="spec type anchored" id="type-buffer"><a href="#type-buffer" class="anchor"></a><code><span><span class="keyword">type</span> <span class="keyword">nonrec</span> buffer</span><span> = <span><a href="#type-buffer_ptr">buffer_ptr</a> <a href="../../Backend_intf/index.html#type-buffer">Backend_intf.buffer</a></span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sexp_of_buffer"><a href="#val-sexp_of_buffer" class="anchor"></a><code><span><span class="keyword">val</span> sexp_of_buffer : <span><a href="#type-buffer">buffer</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Sexplib0</span>.Sexp.t</span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-ctx_arrays"><a href="#type-ctx_arrays" class="anchor"></a><code><span><span class="keyword">type</span> <span class="keyword">nonrec</span> ctx_arrays</span><span> = <span><a href="#type-buffer_ptr">buffer_ptr</a> <a href="../../Backend_intf/index.html#type-ctx_arrays">Backend_intf.ctx_arrays</a></span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sexp_of_ctx_arrays"><a href="#val-sexp_of_ctx_arrays" class="anchor"></a><code><span><span class="keyword">val</span> sexp_of_ctx_arrays : <span><a href="#type-ctx_arrays">ctx_arrays</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Sexplib0</span>.Sexp.t</span></code></div></div></details></div></details></div><div class="odoc-spec"><div class="spec value anchored" id="val-unified_memory"><a href="#val-unified_memory" class="anchor"></a><code><span><span class="keyword">val</span> unified_memory : <span class="xref-unresolved">Base</span>.bool</span></code></div><div class="spec-doc"><p>If true, the node is required to be in the contexts linked with code that uses it.</p><p>Should return false for nodes that are virtual, local, or which the backend prefers to access directly from the host.</p></div></div></div></body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../module-type-No_buffer_retrieval_or_syncing/index.html#type-buffer_ptr">buffer_ptr</a> := <a href="#type-buffer_ptr">buffer_ptr</a></span>
<span class="keyword">and</span> <span><span class="keyword">type</span> <a href="../module-type-No_buffer_retrieval_or_syncing/index.html#type-dev">dev</a> := <a href="#type-dev">dev</a></span>
<span class="keyword">and</span> <span><span class="keyword">type</span> <a href="../module-type-No_buffer_retrieval_or_syncing/index.html#type-runner">runner</a> := <a href="#type-runner">runner</a></span>
<span class="keyword">and</span> <span><span class="keyword">type</span> <a href="../module-type-No_buffer_retrieval_or_syncing/index.html#type-event">event</a> := <a href="#type-event">event</a></span></span></code></summary><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../module-type-Backend_impl_common/index.html">Backend_impl_common</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../module-type-Backend_impl_common/index.html#type-buffer_ptr">buffer_ptr</a> := <a href="#type-buffer_ptr">buffer_ptr</a></span></span></code></summary><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../Backend_intf/module-type-Buffer/index.html">Backend_intf.Buffer</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../Backend_intf/module-type-Buffer/index.html#type-buffer_ptr">buffer_ptr</a> := <a href="#type-buffer_ptr">buffer_ptr</a></span></span></code></summary><div class="odoc-include shadowed-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></summary></details></div></details></div><div class="odoc-spec"><div class="spec value anchored" id="val-is_in_context"><a href="#val-is_in_context" class="anchor"></a><code><span><span class="keyword">val</span> is_in_context : <span><a href="../../Low_level/index.html#type-traced_array">Low_level.traced_array</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Base</span>.bool</span></code></div><div class="spec-doc"><p>If true, the node is required to be in the contexts linked with code that uses it.</p><p>Should return false for nodes that are virtual, local, or which the backend prefers to access directly from the host.</p></div></div></details></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../Backend_intf/module-type-Backend_device_common/index.html">Backend_intf.Backend_device_common</a>
<span class="keyword">and</span> <span><span class="keyword">type</span> <a href="../module-type-No_buffer_retrieval_or_syncing/index.html#type-event">event</a> := <a href="#type-event">event</a></span></span></code></summary><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../module-type-Backend_impl_common/index.html">Backend_impl_common</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../module-type-Backend_impl_common/index.html#type-buffer_ptr">buffer_ptr</a> := <a href="#type-buffer_ptr">buffer_ptr</a></span></span></code></summary><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../Backend_intf/module-type-Buffer/index.html">Backend_intf.Buffer</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../Backend_intf/module-type-Buffer/index.html#type-buffer_ptr">buffer_ptr</a> := <a href="#type-buffer_ptr">buffer_ptr</a></span></span></code></summary><div class="odoc-include shadowed-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></summary></details></div></details></div><div class="odoc-spec"><div class="spec value anchored" id="val-unified_memory"><a href="#val-unified_memory" class="anchor"></a><code><span><span class="keyword">val</span> unified_memory : <span class="xref-unresolved">Base</span>.bool</span></code></div><div class="spec-doc"><p>If true, the node is required to be in the contexts linked with code that uses it.</p><p>Should return false for nodes that are virtual, local, or which the backend prefers to access directly from the host.</p></div></div></details></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../Backend_intf/module-type-Backend_device_common/index.html">Backend_intf.Backend_device_common</a>
<span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../Backend_intf/module-type-Backend_device_common/index.html#type-buffer_ptr">buffer_ptr</a> := <a href="#type-buffer_ptr">buffer_ptr</a></span>
<span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../Backend_intf/module-type-Backend_device_common/index.html#type-dev">dev</a> := <a href="#type-dev">dev</a></span>
<span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../Backend_intf/module-type-Backend_device_common/index.html#type-runner">runner</a> := <a href="#type-runner">runner</a></span>
Expand Down Expand Up @@ -48,9 +48,8 @@
<span><span class="label">names</span>:<span><span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Base</span>.option</span> <span class="xref-unresolved">Base</span>.array</span> <span class="arrow">&#45;&gt;</span></span>
<span><a href="../../Indexing/index.html#type-unit_bindings">Indexing.unit_bindings</a> <span class="arrow">&#45;&gt;</span></span>
<span><span><span><a href="../../Low_level/index.html#type-optimized">Low_level.optimized</a> <span class="xref-unresolved">Base</span>.option</span> <span class="xref-unresolved">Base</span>.array</span> <span class="arrow">&#45;&gt;</span></span>
<a href="#type-code_batch">code_batch</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-link"><a href="#val-link" class="anchor"></a><code><span><span class="keyword">val</span> link : <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-code">code</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-ctx_arrays">ctx_arrays</a> * <a href="../../Indexing/index.html#type-lowered_bindings">Indexing.lowered_bindings</a> * <a href="../../Task/index.html#type-t">Task.t</a></span></code></div><div class="spec-doc"><p>The results correspond to the fields <code>field-Backend_intf.ctx_arrays</code> of <code>field-Backend_intf.context</code>, <code>field-Backend_intf.bindings</code> and <code>field-Backend_intf.schedule</code> of <a href="../../Backend_intf/index.html#type-routine"><code>Backend_intf.routine</code></a>.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-link_batch"><a href="#val-link_batch" class="anchor"></a><code><span><span class="keyword">val</span> link_batch :
<a href="#type-code_batch">code_batch</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-link"><a href="#val-link" class="anchor"></a><code><span><span class="keyword">val</span> link : <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-code">code</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-ctx_arrays">ctx_arrays</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../Indexing/index.html#type-lowered_bindings">Indexing.lowered_bindings</a> * <a href="../../Task/index.html#type-t">Task.t</a></span></code></div><div class="spec-doc"><p><code>context</code> is the prior context, while <code>ctx_arrays</code> are the arrays of the resulting context. The results correspond to the fields <code>field-Backend_intf.bindings</code> and <code>field-Backend_intf.schedule</code> of <a href="../../Backend_intf/index.html#type-routine"><code>Backend_intf.routine</code></a>.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-link_batch"><a href="#val-link_batch" class="anchor"></a><code><span><span class="keyword">val</span> link_batch :
<span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
<span><a href="#type-code_batch">code_batch</a> <span class="arrow">&#45;&gt;</span></span>
<a href="#type-ctx_arrays">ctx_arrays</a>
* <a href="../../Indexing/index.html#type-lowered_bindings">Indexing.lowered_bindings</a>
* <span><span><span>(<a href="#type-ctx_arrays">ctx_arrays</a> * <a href="../../Task/index.html#type-t">Task.t</a>)</span> <span class="xref-unresolved">Base</span>.option</span> <span class="xref-unresolved">Base</span>.array</span></span></code></div><div class="spec-doc"><p>Returns the schedule tasks and their <code>ctx_arrays</code> for the procedures included in the code batch. The returned <code>ctx_arrays</code> will be part of a context downstream of all the tasks and the tasks' contexts are not independent (typically, they are cumulative).</p></div></div></div></body></html>
<span><span><span><a href="#type-ctx_arrays">ctx_arrays</a> <span class="xref-unresolved">Base</span>.option</span> <span class="xref-unresolved">Base</span>.array</span> <span class="arrow">&#45;&gt;</span></span>
<a href="../../Indexing/index.html#type-lowered_bindings">Indexing.lowered_bindings</a> * <span><span><a href="../../Task/index.html#type-t">Task.t</a> <span class="xref-unresolved">Base</span>.option</span> <span class="xref-unresolved">Base</span>.array</span></span></code></div><div class="spec-doc"><p><code>context</code> is the prior context, while the <code>ctx_arrays</code> are the arrays of the resulting contexts. Returns the schedule tasks for the procedures included in the code batch.</p></div></div></div></body></html>
Loading

0 comments on commit 1b4c9e6

Please sign in to comment.