Skip to content

Commit

Permalink
deploy: 069322a
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstafi committed Nov 9, 2024
1 parent 1b4c9e6 commit 8f8201d
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dev/arrayjit/Arrayjit/Assignments/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<span><span class="label">initialize_neutral</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">projections</span>:<a href="../Indexing/index.html#type-projections">Indexing.projections</a> <span class="arrow">&#45;&gt;</span></span>
<span class="xref-unresolved">Base</span>.bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-context_nodes"><a href="#val-context_nodes" class="anchor"></a><code><span><span class="keyword">val</span> context_nodes :
<span><span class="label">unified_memory</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">use_host_memory</span>:bool <span class="arrow">&#45;&gt;</span></span>
<span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span>
<span><span>(<a href="../Tnode/index.html#type-t">Tn.t</a>, <a href="../Tnode/index.html#type-comparator_witness">Tn.comparator_witness</a>)</span> <span class="xref-unresolved">Base</span>.Set.t</span></span></code></div><div class="spec-doc"><p>Returns materialized nodes in the sense of <a href="../Tnode/index.html#val-is_in_context_force"><code>Tnode.is_in_context_force</code></a>. NOTE: it ideally should be called after compilation.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sequential"><a href="#val-sequential" class="anchor"></a><code><span><span class="keyword">val</span> sequential : <span><span><a href="#type-t">t</a> <span class="xref-unresolved">Base</span>.List.t</span> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sequence"><a href="#val-sequence" class="anchor"></a><code><span><span class="keyword">val</span> sequence : <span><span><a href="#type-comp">comp</a> <span class="xref-unresolved">Base</span>.List.t</span> <span class="arrow">&#45;&gt;</span></span> <a href="#type-comp">comp</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_low_level"><a href="#val-to_low_level" class="anchor"></a><code><span><span class="keyword">val</span> to_low_level : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../Low_level/index.html#type-t">Low_level.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-flatten"><a href="#val-flatten" class="anchor"></a><code><span><span class="keyword">val</span> flatten : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="xref-unresolved">Base__List</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-is_noop"><a href="#val-is_noop" class="anchor"></a><code><span><span class="keyword">val</span> is_noop : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_ident_within_code"><a href="#val-get_ident_within_code" class="anchor"></a><code><span><span class="keyword">val</span> get_ident_within_code : <span><span class="optlabel">?no_dots</span>:bool <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Tnode/index.html#type-t">Tn.t</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Base</span>.String.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-fprint_hum"><a href="#val-fprint_hum" class="anchor"></a><code><span><span class="keyword">val</span> fprint_hum :
<span><span class="optlabel">?name</span>:<span class="xref-unresolved">Base</span>.string <span class="arrow">&#45;&gt;</span></span>
Expand Down
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-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>
<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-use_host_memory"><a href="#val-use_host_memory" class="anchor"></a><code><span><span class="keyword">val</span> use_host_memory : <span class="xref-unresolved">Base</span>.bool</span></code></div><div class="spec-doc"><p>If true, the backend will read from and write to the host memory directly whenever possible.</p><p><code>use_host_memory</code> can only be true on unified memory devices, like CPU and Apple Metal.</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-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">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-use_host_memory"><a href="#val-use_host_memory" class="anchor"></a><code><span><span class="keyword">val</span> use_host_memory : <span class="xref-unresolved">Base</span>.bool</span></code></div><div class="spec-doc"><p>If true, the backend will read from and write to the host memory directly whenever possible.</p><p><code>use_host_memory</code> can only be true on unified memory devices, like CPU and Apple Metal.</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
Loading

0 comments on commit 8f8201d

Please sign in to comment.