/// <summary> /// Release all the unmanaged memory associated with this object /// </summary> protected override void DisposeObject() { if (_sharedPtr != IntPtr.Zero) { CudaInvoke.cudaConvolutionRelease(ref _sharedPtr); _ptr = IntPtr.Zero; } }