Metal_api.Kernel
type arg =
| Buffer of unit Ctypes.ptr * int
| Int32 of int32
| Int64 of int64
| Float32 of float
| Float64 of float
type args = arg list
type t = {
pipeline : ComputePipeline.t;
function_name : string;
}
val create : ComputePipeline.t -> string -> t
val execute : CommandQueue.t -> t -> grid_size:(int * int * int) -> block_size:(int * int * int) -> arg list -> unit