package rune
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Automatic differentiation and JIT compilation for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
raven-1.0.0.alpha2.tbz
sha256=93abc49d075a1754442ccf495645bc4fdc83e4c66391ec8aca8fa15d2b4f44d2
sha512=5eb958c51f30ae46abded4c96f48d1825f79c7ce03f975f9a6237cdfed0d62c0b4a0774296694def391573d849d1f869919c49008acffca95946b818ad325f6f
doc/rune.jit/Rune_jit/index.html
Module Rune_jitSource
Source
type 'a exe_internal = {kernels : 'a kernel_artifact list;graph_meta : (Var.t, Ir.var_metadata) Hashtbl.t;graph_outputs : Var.t list;
}Source
val compile_legacy :
backend:
(module Backend_intf.S
with type callable_kernel_native = 'callable_kernel_native) ->
Ir.graph_t ->
('callable_kernel_native Rune_jit__Backend_intf.callable_kernel executable,
string)
resultSource
val compile :
backend:
(module Backend_intf.S
with type callable_kernel_native = 'callable_kernel_native) ->
Ir.graph_t ->
('callable_kernel_native Rune_jit__Backend_intf.callable_kernel executable,
string)
resultSource
val execute :
backend:
(module Backend_intf.S
with type callable_kernel_native = 'callable_kernel_native
and type device_buffer_native = 'device_buffer_native) ->
'callable_kernel_native Rune_jit__Backend_intf.callable_kernel executable ->
inputs:
(Var.t, 'device_buffer_native Rune_jit__Backend_intf.any_device_buffer)
Hashtbl.t ->
outputs:Var.t list ->
((Var.t, 'device_buffer_native Rune_jit__Backend_intf.any_device_buffer)
Hashtbl.t,
string)
resultSource
val allocate_buffer :
backend:
(module Backend_intf.S
with type device_buffer_native = 'device_buffer_native) ->
size_in_bytes:int ->
dtype:'a Dtype.t ->
(('a, 'device_buffer_native) Rune_jit__Backend_intf.device_buffer, string)
resultSource
val copy_to_device :
backend:
(module Backend_intf.S
with type device_buffer_native = 'device_buffer_native) ->
dest_buffer:('a, 'device_buffer_native) Rune_jit__Backend_intf.device_buffer ->
host:('b, 'c, 'd) Bigarray.Array1.t ->
(unit, string) resultSource
val copy_from_device :
backend:
(module Backend_intf.S
with type device_buffer_native = 'device_buffer_native) ->
src_buffer:('a, 'device_buffer_native) Rune_jit__Backend_intf.device_buffer ->
dest:('b, 'c, 'd) Bigarray.Array1.t ->
(unit, string) result sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>