Machine learning-based technique for execution mode selection
AssigneeAdvanced Micro Devices, Inc.
InventorsIan Charles Colbert, Michael John Bedy
Life of this patent
Estimating the term…
Abstract
Described herein are techniques for generating a compiled shader program. The techniques include identifying input features of a shader program, providing the identified input features of the shader program to a trained model for selecting compiler operation values for shader programs, receiving, as output from the trained model, a compiler operation value for the shader program, and generating a compiled shader program based on the compiler operation value for execution on one or more compute units.
Claims20
A method for generating a compiled shader program, the method comprising:
- identifying input features of a shader program;
- providing the identified input features of the shader program to a trained model for selecting compiler operation values for shader programs;
- receiving, as output from the trained model, a compiler operation value for the shader program;
- and
- generating a compiled shader program based on the compiler operation value for execution on one or more compute units.
A computer system comprising:
- a compiler;
- and
- one or more compute units configured to execute shader programs,
- wherein the compiler is configured to:
- identify input features of a shader program;
- provide the identified input features of the shader program to a trained model for selecting compiler operation values for shader programs;
- receive, as output from the trained model, a compiler operation value for the shader program;
- and
- generate a compiled shader program based on the compiler operation value for execution on the one or more compute units.
A non-transitory computer-readable medium storing instructions that, when executed by a processor, cause the processor to generate a compiled shader program, by:
- identifying input features of a shader program;
- providing the identified input features of the shader program to a trained model for selecting compiler operation values for shader programs;
- receiving, as output from the trained model, a compiler operation value for the shader program;
- and
- generating a compiled shader program based on the compiler operation value for execution on one or more compute units.
Dependencies are inferred from the claim text.