public void Build(ICollection <ComputeDevice> devices, string options, ComputeProgramBuildNotifier notify, IntPtr notifyDataPtr) { IntPtr[] deviceHandles = ComputeTools.ExtractHandles(devices, out var handleCount); buildNotify = notify; CL10.BuildProgram(handle, handleCount, deviceHandles, options, buildNotify, notifyDataPtr); }