Nvidia patents API to trim unused code from compiled programs
Nvidia describes a system where a software interface tells the compiler which parts of a program are actually used. The compiler then removes the unused sections before the program runs, making the final software smaller and potentially faster.
In the filing’s own words
Apparatuses, systems, and techniques are described herein to manage portions of program code included in a compiled program. In at least one embodiment, an application programming interface (API) call including parameters that indicate portions of program code referenced by other portions of the program code is received. In response the API call, at runtime, one or more processors are to cause a linker component of one or more compilers to indicate which portions of the program code will be performed when the compiled program is executed. The one or more compilers are to exclude other portions which are not performed from the program during compilation.
What exactly they claim (claim 1)
1. One or more processors comprising: circuitry to: receive an application programming interface (API) call comprising one or more parameters indicating identification of one or more first portions of program code referenced by other portions of the program code; and in response to the API call, at runtime, cause a linker component of one or more compilers to exclude one or more second portions of the program code unreferenced by the other portions of the program code from a compiled program.
Facts
- Company
- Nvidia (NVIDIA Corporation)
- Official title
- Application programming interface to modify code
- Patent number
- US12754744B2
- Application number
- 17749936
- Filed
- May 20, 2022
- Granted
- Oct 6, 2026
- Inventors
- 2
- Claims
- 32
Classified under
G06F 9/44521 Physics & computingG06F 8/51 Physics & computingG06F 9/547 Physics & computingMore from Nvidia in AI & software
- Nvidia patents AI coach that analyzes your gameplay to suggest strategies Oct 13, 2026
- Nvidia patents AI system that writes and voices character conversations Sep 10, 2026
- Nvidia patents system that uses AI to find bugs in game videos Sep 17, 2026
- Nvidia patents AI method to make digital characters move realistically Sep 8, 2026
- Nvidia patents AI system that builds image generators from text prompts Sep 15, 2026
Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.