Patents
US 9,501,269 B2#17265197 Most CitedActiveUnited States (USPTO)Utility

Automatic source code generation for accelerated function calls

6Forward Citations (#17265197 Global)
0.6/yrCitation Velocity (#13081136 Global)
1.78Citation PageRank (#17418487 Global)
20Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

A programming model for a processor accelerator allows accelerated functions to be called from a main program directly without a management API for the accelerator. A compiler automatically generates wrapper source code for each accelerator function called by the application source code. The wrapper code is compiled, together with the accelerator source code, to generate an object file that is linked to an object file for the main program. By automatically generating the wrapper code, a programmer can simply and directly invoke accelerator functions without the use of a complex management API. In addition, because the wrapper code for the accelerator is generated automatically, a standard compiler can be used to compile the main program, using standard linkage conventions.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 6.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method comprising: receiving, at a computer device, source code indicating a processor accelerator function; automatically generating wrapper code at the computer device to call the processor accelerator function, the wrapper code including at least one of memory allocation instructions, data transfer instructions, variable and data structure declarations to be called and executed by an accelerator; and compiling the wrapper code and the source code to generate an application program.

  2. Claim 2Depends on #1

    The method of claim 1 , wherein compiling the wrapper code and the source code further comprises: compiling the source code to generate machine code; embedding the machine code in the wrapper code; and compiling the wrapper code with the embedded machine code.

  3. Claim 3Depends on #1

    The method of claim 1 , further comprising: gen

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (20)

PatentTitleYearCitations
US 5,991,539 AUse of re-entrant subparsing to facilitate processing of complicated input data199944
US 6,978,450 B2Method and system for optimizing compilation time of a program by selectively reusing object code200516
US 7,035,781 B1Mixed language simulator200637
US 7,343,594 B1Software-to-hardware compiler with symbol set inference analysis200827
US 7,472,375 B2Creating managed code from native code200826
US 7,685,582 B2Looping constructs in object model software20107
US 7,784,038 B2Pattern matching and transformation of intermediate language expression trees201010
US 7,818,729 B1Automated safe secure techniques for eliminating undefined behavior in computer software2010107
US 7,954,094 B2Method for improving performance of executable code201151
US 8,087,011 B2Domain stretching for an advanced dual-representation polyhedral loop transformation framework201116
US 8,099,725 B2Method and apparatus for generating code for an extract, transform, and load (ETL) data flow201218
US 8,181,166 B2System and method for determining when an EJB compiler needs to be executed20124
US 8,296,743 B2Compiler and runtime for heterogeneous multiprocessor systems201264
US 8,365,156 B2Intermediate language support for change resilience201322
US 8,595,711 B2Function-level compiler processing optimization20137
US 8,621,446 B2Compiling software for a hierarchical distributed processing system20138
US 8,789,204 B2Method and apparatus for secure cross-site scripting20145
US 8,869,127 B2Refactoring programs for flexible locking201411
US 8,924,946 B2Systems and methods for automatically optimizing high performance computing programming languages20144
US 8,959,579 B2Controlling mobile device access to secure data201531

Non-Patent Literature (5)

  • Hao et al, "A Two-Phase Rule Generation and Optimization Approach for Wrapper Generation", ACM, pp. 1-10, 2006.
  • Irmak et al, "Interactive Wrapper Generation with Minimal User Effort", ACM, pp. 553-563, 2006.
  • Lejdfors et al., "Implementing an Embedded GPU Language by Combining Translation and Generation", SAC'06-ACM Symposium on Applied Computing, Apr. 23, 2006, 5 pages.
  • Li et al, "A Wrapper Generator for Wrapping High Performance Legacy Codes as Java/CORBA Components", IEEE, pp. 1-12, 2000.
  • McCool et al., "Shader Metaprogramming" (Revised), Proceedings of the ACM SIGGRAPH/Eurographics conference on Graphics hardware. Eurographics Association, Sep. 1, 2002, 12 pages.