示例#1
0
 /// <summary>
 /// Release all the unmanaged memory associated with this OclInfo
 /// </summary>
 protected override void DisposeObject()
 {
     if (_needDispose)
     {
         if (_ptr != IntPtr.Zero)
         {
             OclInvoke.oclDeviceRelease(ref _ptr);
         }
     }
 }