×

System and method for compiler support for compile time customization of code

  • US 10,241,761 B2
  • Filed: 12/14/2015
  • Issued: 03/26/2019
  • Est. Priority Date: 12/29/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method of processing source code, the method comprising:

  • accessing, by a processor of a computing device, a portion of host source code, the portion of host source code being stored in a data store;

    determining, by the processor, whether the portion of the host source code comprises a device lambda expression;

    in response to the portion of host code comprising the device lambda expression, determining, by the processor, a unique placeholder type instantiation based on the device lambda expression, wherein the unique placeholder type instantiation comprises one or more variables associated with the device lambda expression;

    modifying, by the processor, the device lambda expression based on the unique placeholder type instantiation to produce modified host source code; and

    sending the modified host source code to a host compiler executed by the processor.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×