public static ContextHandle CreateContextFromType(ContextProperty[] properties, DeviceType deviceType, ContextNotify pfnNotify, IntPtr userData, out OpenCLErrorCode errcodeRet) { return new ContextHandle(clCreateContextFromType(properties, deviceType, pfnNotify, userData, out errcodeRet)); }
public static ContextHandle CreateContext(ContextProperty[] properties, uint numDevices, DeviceHandle[] devices, ContextNotify pfnNotify, IntPtr userData, out OpenCLErrorCode errcodeRet) { return new ContextHandle(clCreateContext(properties, numDevices, devices, pfnNotify, userData, out errcodeRet)); }