type arg = | ArgBuffer : _ Memory.buffer -> arg| ArgInt32 : int32 -> arg| ArgInt64 : int64 -> arg| ArgFloat32 : float -> arg| ArgFloat64 : float -> arg| ArgPtr : nativeint -> arg
val load_module_from_code_object : name:string -> string -> tval compile : Device.t -> name:string -> source:string -> tval compile_with_options :
Device.t ->
name:string ->
source:string ->
options:string list ->
tval with_cache : Device.t -> name:string -> source:string -> (unit -> t) -> tval compile_cached : Device.t -> name:string -> source:string -> tval clear_cache : unit -> unittype ctype_ref = | CTypeRef : 'a Ctypes.typ * 'a Ctypes.ptr -> ctype_ref
val launch :
t ->
args:arg list ->
grid:(int * int * int) ->
block:(int * int * int) ->
shared_mem:int ->
stream:Stream.t option ->
unit