public void Destroy() { if (device != IntPtr.Zero) { PhononCore.iplDestroyComputeDevice(ref device); } }