Patent ID: 11941724
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 9:
10. A model inference method based on a graphics rendering pipeline, comprising:
receiving texture data information transmitted by a central processing unit (CPU), wherein the texture data information is obtained by the CPU from an instruction stream in a render thread, the texture data information comprises texture data, and an ID of a texture in an activated state is obtained and saved by the CPU before the CPU transmits the texture data information;
performing GPU model-based inference on the texture data in a graphics processing unit (GPU) rendering pipeline based on a GPU model to obtain an inference result of the texture data, wherein the GPU model is a model running in a GPU, wherein the inference result is obtained by using the render thread, and the inference result is saved in a texture data format; and
outputting the inference result to the render thread, wherein the inference result is in a texture data format.