Ejemplo n.º 1
0
 /// <summary>
 /// Provides access to <see cref="DeviceGetInforomVersion_Interop"/>
 /// without using raw pointers.
 /// </summary>
 public unsafe NvmlReturn DeviceGetInforomVersion(
     IntPtr device,
     NvmlInforomObject inforomObject,
     out string version) =>
 GetNvmlString(
     (str, len) =>
 {
     return(DeviceGetInforomVersion_Interop(
                device,
                inforomObject,
                str,
                len));
 },
     NvmlConstants.NVML_DEVICE_INFOROM_VERSION_BUFFER_SIZE,
     out version);
Ejemplo n.º 2
0
 public static extern NvmlReturn NvmlDeviceGetInforomVersion(
     NvmlDevice device, NvmlInforomObject obj, StringBuilder version, uint length);