IP Library Granted Patent US 11,237,808
Granted Patent B2
US 11,237,808 · App. 17/063,285 · Granted Feb 1, 2022

Target architecture determination

Inventor: John D. Leidel (McKinney, TX)
Assignee: Micron Technology, Inc.
G06F8/447
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,237,808
App. No.
17/063,285
Granted
Feb 1, 2022
Kind
B2
Abstract

Examples of the present disclosure provide apparatuses and methods for target architecture determination. An example method comprises receiving an indication of a type of target architecture in a portion of source code and creating compiled code for the type of target architecture based on the indication.

Claims (31)

1. An apparatus, comprising:

a processor; and

a compiler that includes:

a parser, wherein the parser is configured to separate a source code from other portions of source code based on a named address space defined in the source code;

a target identifier, wherein the target identifier is configured to determine a type of target architecture based on the named address space defined in the source code; and

a code generator, wherein the code generator is configured to create a first portion of compiled code that includes heterogeneous instructions for the type of target architecture and a second portion of compiled code that includes instructions for a base processor.

2. The apparatus of claim 1 , wherein the parser separates the source code in a number of portions based on a number of named address spaces, including the named address space defined in the source code.

3. The apparatus of claim 1 , wherein the first portion of complied code includes homogeneous instructions for the type of target architecture.

4. The apparatus of claim 1 , wherein the target architecture is configured to execute only the first portion of compiled code.

5. The apparatus of claim 1 , wherein the processor is configured to execute only the second portion of compiled code.

6. The apparatus of claim 1 , wherein the target identifier includes a table correlating the type of the target architecture with the named address space.

7. A method, comprising:

creating a first portion of compiled code that includes instructions for a target architecture, wherein the first portion of compiled code includes a number of heterogeneous instructions for the target architecture, wherein creating the first portion of compiled code includes separating a source code from other portions of source code based on a named address space defined in the source code, and wherein creating the first portion of compiled code includes determining a type of target architecture based on the named address space defined in the source code; and

creating a second portion of compiled code that includes instructions for a base processor, wherein the second portion of compiled code includes a number of homogeneous instructions and a number of heterogeneous instructions for the base processor.

8. The method of claim 7 , further including executing the first portion of complied code by the target architecture.

9. The method of claim 7 , further including executing the second portion of compiled code with the base processor.

10. The method of claim 7 , wherein the named address space includes an integer to indicate the type of the target architecture.

11. The method of claim 7 , wherein the first portion of compiled code includes the number of homogeneous instructions.

12. The method of claim 7 , further comprising creating a third portion of compiled code that includes instructions for a different target architecture.

13. The method of claim 12 , wherein the third portion of compiled code is created in response to the source code having different address spaces.

14. The method of claim 7 , wherein the target architecture is a processing in memory (PIM) architecture.

15. An apparatus comprising:

a processor; and

a compiler that includes:

a parser, wherein the parser is configured to separate a source code from other portions of source code based on a named address space defined in the source code and to group portions of the source code together based on type of target architecture;

a target identifier, wherein the target identifier is configured to determine a target architecture based on the named address space of the source code; and

a code generator, wherein the code generator is configured to create a first portion

of compiled code from the source code that includes instructions for the target architecture and wherein the target architecture is configured to execute the first portion of compiled code.

16. The apparatus of claim 15 , wherein the first portion of compiled code include a number of heterogeneous instructions for the target architecture and a number of homogeneous instructions.

17. The apparatus of claim 15 , wherein the code generator is configured to create a second portion of compiled code from the source code that includes instructions for a base processor.

18. The apparatus of claim 17 , wherein the base processor is configured to execute the second portion of compiled code.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 5, 2020
From: LEIDEL, JOHN D.
To: MICRON TECHNOLOGY, INC.
Reel/Frame 053976/0098 →
Cited By (1)
US 12,710,944