public static StatusOrGpuResources Create() { var ptr = UnsafeNativeMethods.MpGpuResourcesCreate(); return(new StatusOrGpuResources(ptr)); }
public StatusOrGpuResources() : this(UnsafeNativeMethods.MpGpuResourcesCreate()) { }