package rune

  1. Overview
  2. Docs
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_llvm/Rune_jit_llvm/Compiler/index.html

Module Rune_jit_llvm.CompilerSource

Sourcetype compile_options = {
  1. optimization_level : int;
  2. fast_math : bool;
  3. device_info : device_info;
}
Sourceval default_options : device_info -> compile_options
Sourceval compile_instruction : Llvm.llcontext -> Llvm.llbuilder -> (int, Llvm.llvalue) Stdlib.Hashtbl.t -> Rune_jit.Ir.Lowered.instruction -> unit
Sourceval kernel_counter : int Stdlib.ref
Sourceval kernel_name_map : (string, string) Stdlib.Hashtbl.t
Sourceval compile_kernel : device_info -> Rune_jit.Ir.Lowered.graph_t -> string -> Llvm.llmodule * string
Sourceval compile : device_info:device_info -> source_code:string -> options:'a -> (compiled_artifact_native Rune_jit.Backend_intf.compiled_artifact, string) Stdlib.result