package rune

  1. Overview
  2. Docs

Module Jit_backend.RuntimeSource

Sourceval allocate_buffer : device_info:device_info -> size_in_bytes:int -> dtype:'a Rune_jit.Ir.Dtype.t -> ('a device_buffer, string) result
Sourceval copy_to_device : dest_buffer:'a device_buffer -> host_data:nativeint -> host_data_offset_bytes:int -> copy_size_bytes:int -> (unit, string) result
Sourceval copy_from_device : src_buffer:'a device_buffer -> host_dest_ptr:nativeint -> device_data_offset_bytes:int -> copy_size_bytes:int -> (unit, string) result
Sourceval get_kernel : artifact:compiled_artifact -> kernel_name:string -> (callable_kernel, string) result
Sourceval launch_kernel : ?local_dims:int array -> device_info:device_info -> global_dims:int array -> args:any_device_buffer list -> callable_kernel -> (unit, string) result
Sourceval synchronize : device_info:device_info -> unit
OCaml

Innovation. Community. Security.