class virtual[['a, 'b]]
spoc_kernel :string -> string ->
object
..end
val binaries : (Spoc.Devices.device, kernel) Hashtbl.t
the cuda source code of the kernel
val mutable cuda_sources : string list
val mutable opencl_sources : string list
clean binary cache
method get_binaries : unit -> (Spoc.Devices.device, kernel) Hashtbl.t
method reset_binaries : unit -> unit
method compile : ?debug:bool -> Spoc.Devices.device -> unit
method compile_and_run : 'a ->
block * grid ->
?debug:bool -> int -> Spoc.Devices.device -> unit
method virtual exec : 'a ->
block * grid ->
int -> Spoc.Devices.device -> kernel -> unit
method reload_sources : unit -> unit
runs the kernel on a device
method run : 'a -> block * grid -> int -> Spoc.Devices.device -> unit