Sarek_opencl.Opencl_apiexception Opencl_error of Opencl_types.cl_error * stringDeprecated: no longer raised. check below now raises the canonical Opencl_error.Opencl_error (a Backend_error alias) via the shared Sarek_backend_error.Backend_error.Make.check funnel. Kept only so out-of-tree code matching on Opencl_api.Opencl_error (code, ctx) still compiles (this library is opam-published).
Check OpenCL result and raise a canonical Backend_error on failure.
module Platform : sig ... endmodule Device : sig ... endmodule Context : sig ... endmodule CommandQueue : sig ... endmodule Memory : sig ... endmodule Program : sig ... endmodule Kernel : sig ... endmodule String : sig ... end