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