internal Device(UnsafeNativeMethods.ClDeviceID device, DeviceSafeHandle handle) { if (handle == null) { throw new ArgumentNullException("handle"); } _device = device; _handle = handle; }
private static extern ErrorCode clRetainDevice(DeviceSafeHandle device);