-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
dev/arrayjit/Arrayjit/Backend_impl/module-type-Backend_impl_common/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> » <a href="../../index.html">Arrayjit</a> » <a href="../index.html">Backend_impl</a> » 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">-></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">-></span></span> <span><a href="../../Ops/index.html#type-prec">Ops.prec</a> <span class="arrow">-></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">-></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">-></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> » <a href="../../index.html">Arrayjit</a> » <a href="../index.html">Backend_impl</a> » 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">-></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">-></span></span> <span><a href="../../Ops/index.html#type-prec">Ops.prec</a> <span class="arrow">-></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">-></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">-></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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.