US 11,675,572 B2
Sharing data structures
Richard Luke Southwell Osborne, Bristol (GB)
Assigned to GRAPHCORE LIMITED, Bristol (GB)
Filed by Graphcore Limited, Bristol (GB)
Filed on Jul. 14, 2021, as Appl. No. 17/375,406.
Claims priority of application No. 2010838 (GB), filed on Jul. 14, 2020.
Prior Publication US 2022/0019415 A1, Jan. 20, 2022
Int. Cl. G06F 9/44 (2018.01); G06F 8/41 (2018.01); G06F 16/901 (2019.01)
CPC G06F 8/41 (2013.01) [G06F 16/9024 (2019.01)] 18 Claims
OG exemplary drawing
 
1. A method of storing code on a computer comprising multiple processing units, each processing unit having a local memory configured to store read only elements including executable code sequences and an execution stage for executing at least some of the executable code sequences stored in the local memory, the method comprising:
identifying at least one of the multiple processing units of the computer as a master processing unit;
compiling read only elements including executable code sequences for loading into the processing units of the computer, the compiling including allocating at least one shareable read only element to the master processing unit;
storing in the local memory of the master processing unit the at least one shareable read only element, which is designated to be used by an execution stage of at least one other of the processing units, and a transmitting exchange code sequence designated to be executed at the execution stage of the master processing unit at a time point determined at compile time, the transmitting exchange code sequence causing the processing unit to identify the shareable read only element and to generate a message to be transmitted for reception by the at least one other processing unit, the message comprising the shareable read only element.