{"pub_number":"US12379981B2","doc_number":"12379981","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Thread weave for cross-instruction set architectureprocedure calls","abstract_text":"The invention provides a method of initiating code including (i) storing an application having first, second and third functions, the first function being a main function that calls the second and third functions to run the application, (ii) compiling the application to first and second heterogeneous processors to create first and second central processing unit (CPU) instruction set architecture (ISA) objects respectively, (iii) pruning the first and second CPU ISA objects by removing the third function from the first CPU ISA objects and removing first and second functions from the second CPU ISA objects, (iv) proxy inserting first and second remote procedure calls (RPC's) in the first and second CPU ISA objects respectively, and pointing respectively to the third function in the second CPU ISA objects and the second function in the first CPU ISA objects, and (v) section renaming the second CPU ISA objects to common application library.","claims":[{"number":1,"text":"A method of executing an application comprising: executing a first function of an application that has first, second and third functions, the first function being a main function, on a first processor with at least one of first central processing unit (CPU) instruction set architecture (ISA) objects that are compiled to the first processor, the main function causing sequential execution of: a first remote proxy call (RPC) on the first processor with at least one of the first CPU ISA objects, the first function calling the first RPC while a second CPU is paused; the third function on a second processor with at least one of second CPU ISA objects that are compiled to the second processor, the first RPC calling the third function and pausing the first CPU; the second RPC on the second processor with at least one of the second CPU ISA objects, the third function calling the second RPC while a first CPU is paused; and the second function on the first processor with at least one of the first","independent":true},{"number":2,"text":"The method of claim 1, wherein the first function points to the second function.","independent":false,"depends_on":[1]},{"number":3,"text":"The method of claim 1, wherein the first function points to the first RPC.","independent":false,"depends_on":[1]},{"number":4,"text":"The method of claim 1, wherein the first function uses the data structure.","independent":false,"depends_on":[1]},{"number":5,"text":"The method of claim 1, wherein the third function uses the data structure.","independent":false,"depends_on":[1]},{"number":6,"text":"A non-transitory computer-readable medium having stored thereon a set of instructions that are executable by a processor to carry out a method comprising: executing a first function of an application that has first, second and third functions, the first function being a main function, on a first processor with at least one of first central processing unit (CPU) instruction set architecture (ISA) objects that are compiled to the first processor, the main function causing sequential execution of: a first remote proxy call (RPC) on the first processor with at least one of the first CPU ISA objects, the first function calling the first RPC while a second CPU is paused; the third function on a second processor with at least one of second CPU ISA objects that are compiled to the second processor, the first RPC calling the third function and pausing the first CPU; the second RPC on the second processor with at least one of the second CPU ISA objects, the third function calling the second RPC ","independent":true},{"number":7,"text":"The non-transitory computer-readable medium of claim 6, wherein the first function points to the second function.","independent":false,"depends_on":[6]},{"number":8,"text":"The non-transitory computer-readable medium of claim 6, wherein the first function points to the first RPC.","independent":false,"depends_on":[6]}],"description":"CROSS-REFERENCE TO RELATED APPLICATIONS\nThis application is a divisional application of U.S. patent application Ser. No. 17/259,020, filed on Jan. 8, 2021 now U.S. Pat. No. 12,164,978, which is a National Phase of International Patent Application no: PCT/US2019/041151, filed on Jul. 10, 2019, which claims priority from U.S. Provisional Patent Application No. 62/696,132, filed on Jul. 10, 2018, all of which is incorporated herein by reference in its entirety.\nBACKGROUND OF THE INVENTION\n1). Field of the Invention\nThis invention relates to a method of initiating code, a method of executing an application, and a heterogeneous multiprocessor.\n2). Discussion of Related Art\nComplex computer systems frequently make use of a heterogeneous approach involving multiple processor cores from different vendors each with unique instruction set architectures. Generating code for a heterogeneous multiprocessor may be a difficult task for a programmer. A programmer will essentially have to deal with procedure calls that are separately compatible with two separate binary incompatible cores and deal with procedure calls that may transition from one thread to another at boundaries where the other processor may be more efficient. This kind of complexity makes it difficult for a software author to focus on functional correctness using conventional high-level computer language, such as high-level C++ threading primitives and libraries.\nSUMMARY OF THE INVENTION\nThe invention provides a method of initiating code including (i) storing an application in a memory, the application having first, second and third functions, the first function being a main function that calls the second and third functions to run the application, (ii) compiling the application to first and second heterogeneous processors to create first and second central processing unit (CPU) instruction set architecture (ISA) objects respectively, (iii) pruning the first and second CPU ISA objects by removing the third function f","inventors":[{"name":"Jonathan Lindsey Tate","slug":"jonathan-lindsey-tate","city":"Beltram","country":"US"},{"name":"Gregory Michael Link","slug":"gregory-michael-link","city":"Charlotte","country":"US"}],"assignees":[{"name":"Magic Leap, Inc.","slug":"magic-leap-inc","country":"US"}],"examiners":[],"cpc_codes":["G06F 8/47","G06F 9/547"],"ipc_codes":["G06F 8/41","G06F 9/54"],"filing_date":"2024-06-18","pub_date":"2025-08-05","grant_date":"2025-08-05","expiration_date":"2044-06-18","family_members":[],"citations_made":[{"pub_number":"US4344092A","category":"applicant"},{"pub_number":"US4652930A","category":"applicant"},{"pub_number":"US4810080A","category":"applicant"},{"pub_number":"US4997268A","category":"applicant"},{"pub_number":"US5007727A","category":"applicant"},{"pub_number":"US5074295A","category":"applicant"},{"pub_number":"US5240220A","category":"applicant"},{"pub_number":"US5251635A","category":"applicant"},{"pub_number":"US5410763A","category":"applicant"},{"pub_number":"US5455625A","category":"applicant"},{"pub_number":"US5495286A","category":"applicant"},{"pub_number":"US5497463A","category":"applicant"},{"pub_number":"US5659701A","category":"applicant"},{"pub_number":"US5682255A","category":"applicant"},{"pub_number":"US5689669A","category":"applicant"},{"pub_number":"US5826092A","category":"applicant"},{"pub_number":"US5854872A","category":"applicant"},{"pub_number":"US5864365A","category":"applicant"},{"pub_number":"US5937202A","category":"applicant"},{"pub_number":"US6002853A","category":"applicant"},{"pub_number":"US6012811A","category":"applicant"},{"pub_number":"US6016160A","category":"applicant"},{"pub_number":"US6064749A","category":"applicant"},{"pub_number":"US6076927A","category":"applicant"},{"pub_number":"US6079982A","category":"applicant"},{"pub_number":"US6117923A","category":"applicant"},{"pub_number":"US6119147A","category":"applicant"},{"pub_number":"US6124977A","category":"applicant"},{"pub_number":"US6179619B1","category":"applicant"},{"pub_number":"US6191809B1","category":"applicant"},{"pub_number":"US6219045B1","category":"applicant"},{"pub_number":"US6243091B1","category":"applicant"},{"pub_number":"US6271843B1","category":"applicant"},{"pub_number":"US6362817B1","category":"applicant"},{"pub_number":"US6375369B1","category":"applicant"},{"pub_number":"US6385735B1","category":"applicant"},{"pub_number":"US6396522B1","category":"applicant"},{"pub_number":"US6414679B1","category":"applicant"},{"pub_number":"US6538655B1","category":"applicant"},{"pub_number":"US6541736B1","category":"applicant"},{"pub_number":"US6570563B1","category":"applicant"},{"pub_number":"US6573903B2","category":"applicant"},{"pub_number":"US6590593B1","category":"applicant"},{"pub_number":"US6621508B1","category":"applicant"},{"pub_number":"US6690393B2","category":"applicant"},{"pub_number":"US6757068B2","category":"applicant"},{"pub_number":"US6784901B1","category":"applicant"},{"pub_number":"US6961055B2","category":"applicant"},{"pub_number":"US7046515B1","category":"applicant"},{"pub_number":"US7051219B2","category":"applicant"},{"pub_number":"US7076674B2","category":"applicant"},{"pub_number":"US7111290B1","category":"applicant"},{"pub_number":"US7119819B1","category":"applicant"},{"pub_number":"US7219245B1","category":"applicant"},{"pub_number":"US7382288B1","category":"applicant"},{"pub_number":"US7414629B2","category":"applicant"},{"pub_number":"US7431453B2","category":"applicant"},{"pub_number":"US7467356B2","category":"applicant"},{"pub_number":"US7542040B2","category":"applicant"},{"pub_number":"US7573640B2","category":"applicant"},{"pub_number":"US7653877B2","category":"applicant"},{"pub_number":"US7663625B2","category":"applicant"},{"pub_number":"US7724980B1","category":"applicant"},{"pub_number":"US7746343B1","category":"applicant"},{"pub_number":"US7751662B2","category":"applicant"},{"pub_number":"US7758185B2","category":"applicant"},{"pub_number":"US7788323B2","category":"applicant"},{"pub_number":"US7804507B2","category":"applicant"},{"pub_number":"US7814429B2","category":"applicant"},{"pub_number":"US7817150B2","category":"applicant"},{"pub_number":"US7844724B2","category":"applicant"},{"pub_number":"US8060759B1","category":"applicant"},{"pub_number":"US8120851B2","category":"applicant"},{"pub_number":"US8214660B2","category":"applicant"},{"pub_number":"US8246408B2","category":"applicant"},{"pub_number":"US8353594B2","category":"applicant"},{"pub_number":"US8360578B2","category":"applicant"},{"pub_number":"US8508676B2","category":"applicant"},{"pub_number":"US8547638B2","category":"applicant"},{"pub_number":"US8605764B1","category":"applicant"}],"non_patent_literature":["“","Communication according to Rule 164(1) EPC mailed on Feb. 23, 2022","”",", European Patent Application No. 20753144.3, (11 pages).","“","Communication Pursuant to Article 94(3) EPC mailed on Sep. 4, 2019","”",", European Patent Application No. 10793707.0, (4 pages).","“","Communication Pursuant to Article 94(3) EPC mailed on Apr. 25, 2022"],"drawings_count":0,"source_id":"uspto_patent_grants","upstream_forward_citations":0,"metrics":{"forward_citations":0,"indexed_forward_citations":0,"backward_citations":80,"npl_citations":10,"citations_per_year":0.0,"pagerank":0.0,"citation_rank":3478087,"pagerank_rank":3478087,"velocity_rank":3478087,"family_citations":0}}