Module Metal_api.Kernel

type arg =
  1. | Buffer of unit Ctypes.ptr * int
  2. | Int32 of int32
  3. | Int64 of int64
  4. | Float32 of float
  5. | Float64 of float
type args = arg list
type t = {
  1. pipeline : ComputePipeline.t;
  2. 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