public static NvmlPciInfo NvmlDeviceGetPciInfoV3(IntPtr device) { NvmlPciInfo data = new NvmlPciInfo(); NvmlReturn res = Api.NvmlDeviceGetPciInfo_v3(device, out data); if (NvmlReturn.NVML_SUCCESS != res) { throw new SystemException(res.ToString()); } return(data); }
internal static extern NvmlReturn NvmlDeviceGetPciInfo_v3(IntPtr device, out NvmlPciInfo pci);