Patent ID: 11868759
Assignee: ADVANCED MICRO DEVICES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 16:
17. A method comprising:
receiving, using hardware of one or more computing devices, a shader representation of a shader, the shader representation generated by compiling shader source code for the shader;
generating, using the hardware, a first performance prediction of the shader on a processing unit based on the shader representation, the first performance prediction of the shader corresponding to a first output from one or more machine learning models, wherein the one or more machine learning models are trained based on historical data describing performance of one or more other shaders on the processing unit;
receiving, using the hardware, an updated shader representation of the shader, the updated shader representation generated by compiling the shader source code after an update to the shader source code;
generating, using the hardware, a second performance prediction of the shader on the processing unit, the second performance prediction generated using the updated shader representation, the second performance prediction of the shader corresponding to a second output from the one or more machine learning models; and
determining, using the hardware, a predicted trend of the shader by comparing the first performance prediction of the shader to the second performance prediction of the shader, the predicted trend indicating an improvement or decline in performance of the shader caused by the update to the shader source code.