rune_jit_llvm
Rune_jit_llvm.Compiler
llvm_all_backends
llvm_analysis
llvm_executionengine
llvm_passbuilder
llvm_target
rune
rune.jit
rune.llvm
rune_jit_metal_or_missing
type compile_options = {
optimization_level : int;
fast_math : bool;
device_info : device_info;
}
val default_options : device_info -> compile_options
val compile_instruction : Llvm.llcontext -> Llvm.llbuilder -> (int, Llvm.llvalue) Stdlib.Hashtbl.t -> Rune_jit.Ir.Lowered.instruction -> unit
val kernel_counter : int Stdlib.ref
val kernel_name_map : (string, string) Stdlib.Hashtbl.t
val compile_kernel : device_info -> Rune_jit.Ir.Lowered.graph_t -> string -> Llvm.llmodule * string
val compile : device_info:device_info -> source_code:string -> options:'a -> (compiled_artifact_native Rune_jit.Backend_intf.compiled_artifact, string) Stdlib.result