public GpuResources GetGpuResources()
 {
     return(new GpuResources(UnsafeNativeMethods.MpCalculatorGraphGetGpuResources(ptr)));
 }