IP Library Granted Patent US 11,422,827
Granted Patent B2
US 11,422,827 · App. 16/475,115 · Granted Aug 23, 2022

Method, device, apparatus for identifying graphics card of GPU server and medium

Inventor: Xiuqiang Sun (Henan, CN)
Assignee: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY CO., LTD.
G06F9/4411G06F13/102G06F2213/40
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,422,827
App. No.
16/475,115
Granted
Aug 23, 2022
Kind
B2
Abstract

A method, a device, an apparatus for identifying a graphics card of a GPU server, and a medium are provided. The method includes: obtaining correlation information of a graphics card captured by an operation of enumerating PCI devices during a startup process of running a BIOS; determining whether the graphics card belongs to a preset category; reading a memory address of the graphics card in a configuration space of the PCI device in a case that the graphics card belongs to the preset category, and obtaining an actual memory address based on the memory address and an offset; and resetting the graphics card based on the actual memory address, and sending a restart instruction to perform a restart operation.

Claims (29)

1. A method for identifying a graphics card of a GPU server, comprising:

obtaining correlation information of a graphics card captured by an operation of enumerating PCI devices during a startup process of running a BIOS;

determining whether the graphics card belongs to a preset category based on the correlation information;

reading a memory address of the graphics card in a configuration space of the PCI device in a case that the graphics card belongs to the preset category, and obtaining an actual memory address based on the memory address and an offset of the graphics card in a previous work cycle; and

resetting the graphics card based on the actual memory address, and sending a restart instruction to perform a restart operation.

2. The method according to claim 1 , wherein the correlation information comprises version ID information and ID information of the PCI device, and the determining whether the graphics card belongs to a preset category based on the correlation information comprises:

determining whether both the version ID information and the ID information of the PCI device correspond to ID information of the graphics card, and determining that the graphics card belongs to the preset category in a case that both the version ID information and the ID information of the PCI device correspond to the ID information of the graphics card.

3. The method according to claim 2 , further comprising:

performing a sequential operation on the graphics card and running an operating system in a case that the graphics card does not belong to the preset category.

4. The method according to claim 1 , further comprising:

performing a sequential operation on the graphics card and running an operating system in a case that the graphics card does not belong to the preset category.

5. The method according to claim 1 , wherein the reading a memory address of the graphics card in a configuration space of the PCI device comprises:

reading a memory address of a BARS register of the graphics card in the configuration space of the PCI device.

6. The method according to claim 1 , wherein a number of the graphics card is 8 or 16.

7. The method according to claim 1 , wherein the preset category of the graphics card is AMD MI25.

8. A device for identifying a graphics card of a GPU server, comprising:

an obtaining unit, configured to obtain correlation information of a graphics card captured by an operation of enumerating PCI devices during a startup process of running a BIOS;

a determining unit, configured to determine whether the graphics card belongs to a preset category based on the correlation information;

a reading unit, configured to read a memory address of the graphics card in a configuration space of the PCI device in a case that the determining unit determines that the graphics card belongs to the preset category, and obtain an actual memory address based on the memory address and an offset of the graphics card in a previous work cycle; and

a resetting unit, configured to reset the graphics card based on the actual memory address, and send a restart instruction to perform a restart operation.

9. The device according to claim 8 , wherein the correlation information comprises version ID information and ID information of the PCI device, and the determining unit is configured to:

determine whether both the version ID information and the ID information of the PCI device correspond to ID information of the graphics card, and determine that the graphics card belongs to the preset category in a case that both the version ID information and the ID information of the PCI device correspond to the ID information of the graphics card.

10. An apparatus for identifying a graphics card of a GPU server, comprising:

a memory configured to store a computer program; and

a processor configured to execute the computer program to implement-operations of:

obtaining correlation information of a graphics card captured by an operation of enumerating PCI devices during a startup process of running a BIOS;

determining whether the graphics card belongs to a preset category based on the correlation information;

reading a memory address of the graphics card in a configuration space of the PCI device in a case that the graphics card belongs to the preset category, and obtaining an actual memory address based on the memory address and an offset of the graphics card in a previous work cycle; and

resetting the graphics card based on the actual memory address, and sending a restart instruction to perform a restart operation.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 30, 2019
From: SUN, XIUQIANG
To: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY CO., LTD.
Reel/Frame 049633/0833 →
Priority Claims (1)
CN 201810594754.2 · Jun 11, 2018 · national
Continuity (1)
Related Publication 20210357235A1 · Nov 18, 2021