Processing device, processing system, processing method, program, and recording medium
The processing system enhances molecular dynamics simulations by employing dedicated hardware and efficient memory access to accelerate particle dynamics calculations, addressing the speed limitations of conventional methods and reducing software overhead.
Patent Information
- Application Number
- JP2023171432
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-10-02
- Publication Date
- 2024-10-07
- Estimated Expiration
- 2038-10-19
AI Technical Summary
Conventional methods for molecular dynamics simulations on dedicated computers are not sufficiently fast, with significant software overhead in processing particle movements between cells, necessitating further speed improvements.
A processing system that utilizes a particle data memory, cell information memory, and a processing unit to manage and calculate forces and positions of particles in a divided space using dedicated hardware, including a memory controller for efficient access and a convolution unit for long-range interactions, reducing the need for software synchronization.
The system significantly accelerates molecular dynamics simulations by minimizing software overhead and optimizing computational efficiency through parallel processing and reduced communication time between nodes, enabling faster calculations of forces and particle movements.
Smart Images

Figure 0007562181000001 
Figure 0007562181000002 
Figure 0007562181000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a processing device, a processing system, a processing method, a program, and a recording medium. [Background technology]
[0002] Specialized computers for performing molecular dynamics simulations are known, and various methods for accelerating simulations using specialized computers have been developed. For example, a method is known in which a simulation space including giant molecules is divided into multiple cells and managed (Patent Document 1). However, even with conventional methods, the processing speed of the simulation is not necessarily sufficient, and further speedup is desired. For example, with conventional methods, processing such as particle movement between multiple cells is performed by software, and overhead remains large. Patent Document 1: JP 2006-236256 A Summary of the Invention [Problem to be solved by the invention]
[0003] The objective of the present invention is to provide an apparatus etc. that speeds up the processing of particle dynamics simulations using a dedicated computer. [Means for solving the problem]
[0004] In order to solve the above problems, a first aspect of the present invention provides a processing device, processing system, program, and recording medium, comprising: a particle data memory for storing particle data for each of a plurality of particles arranged in a space; a cell information memory for storing cell information corresponding to the cell number of each cell obtained by dividing the space, and indicating a memory location in the particle data memory assigned to store the particle data of the particle in that cell; a processing unit for accessing particle data of a particle included in a cell obtained by dividing the space by specifying the cell number; and a memory controller for identifying the memory location of the particle data to be accessed in the particle data memory using the cell information corresponding to the specified cell number in response to receiving access to the particle data for which a cell number is specified.
[0005] The above summary of the invention does not list all of the necessary features of the present invention. Also, subcombinations of these features may also be inventions. [Brief description of the drawings]
[0006] [Figure 1] 1 shows an example of node sharing in space in this embodiment. [Diagram 2] 3 shows an example of cell division of a divided space in this embodiment. [Diagram 3] 1 shows a block diagram of a processing device 10 according to the present embodiment. [Figure 4] 2 shows an example of the contents stored in the memory 100 in this embodiment. [Diagram 5] 13 illustrates an example of memory processing in this embodiment. [Figure 6] 11 illustrates another example of memory processing in this embodiment. [Figure 7] 11 illustrates yet another example of memory processing in this embodiment. [Figure 8] 11 shows an example of a method for processing a long-range force in this embodiment. [Figure 9] 11 shows an example of a method for processing a long-range force in this embodiment. [Figure 10]11 shows an example of a method for processing a long-range force in this embodiment. [Figure 11] 11 shows an example of a method for processing a long-range force in this embodiment. [Figure 12] 11 shows an example of a method for processing a long-range force in this embodiment. [Figure 13] 1 shows an example of a mask pattern for the particle exclusion function. [Figure 14] 4 shows an example of mask pattern identification information in this embodiment. [Figure 15] 2 shows an example of a mask pattern in this embodiment. [Figure 16A] 1 shows an example of a high rejection mask table in this embodiment. [Figure 16B] 13 shows an example of a low rejection mask table in this embodiment. [Figure 17A] 13 shows an example of a high rejection mask table oblique mode in this embodiment. [Figure 17B] 13 shows an example of a mask table oblique mode with low rejection in this embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] The present invention will be described below through embodiments of the invention, but the following embodiments do not limit the scope of the invention according to the claims. Furthermore, not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention.
[0008] The processing system of this embodiment simulates the movement of particles in a space by calculating the forces acting between multiple particles arranged in the space. For example, the processing system calculates classical mechanical forces and potential energy that occur in macromolecules that include many atoms using multiple processing nodes.
[0009] In this embodiment, each of the multiple processing nodes is responsible for a divided space obtained by dividing the space in each of multiple dimensional directions, and calculates the force and potential energy within the divided space that it is responsible for. The space that the processing system handles is a space (e.g., a three-dimensional space) in which particles to be simulated are arranged, and is defined as a three-dimensional region of a predetermined size.
[0010] The particles may be atoms, atomic groups, molecules, their ions, or electrons that are the subject of the molecular dynamics simulation. The particles may be assigned one or more numerical values of mass, coordinates, velocity, acceleration, and charge as particle data. In the molecular dynamics simulation, multiple forces act on the particles.
[0011] For example, covalent bond forces, Coulomb forces, van der Waals forces, etc. act on the particles. The processing system may use multiple processing nodes to repeatedly calculate the forces acting on the multiple particles and update the positions of the multiple particles. The processing system may perform a gravitational multi-body simulation instead of the molecular dynamics simulation. In this case, the particles are point masses having large masses such as celestial bodies, and the forces acting on the particles are gravity, etc.
[0012] Fig. 1 shows an example of sharing of space by processing nodes in this embodiment. Each of the multiple processing nodes in the processing system may be implemented by a dedicated chip (hereinafter, simply referred to as a chip) designed for its own use. For example, as shown in Fig. 1, the processing system may include 512 processing nodes (512 chips) of 8 processing nodes (8 chips) x 8 processing nodes (8 chips) x 8 processing nodes (8 chips). Then, each processing node (each chip) may be responsible for processing each of the 512 divided spaces obtained by dividing the space.
[0013] Each processing node may be responsible for calculating the force and position of particles in the divided space that it is responsible for. Multiple processing nodes may be interconnected by a network to perform communication necessary for the calculation processing of the entire system. Multiple processing nodes may be mounted on a board. For example, a 512-chip processing system may be constructed by providing 64 boards each equipped with 8 chips.
[0014] FIG. 2 shows an example of cell division of a divided space in this embodiment. The processing system may use a cell index method to manage a space divided into a plurality of cells. The cells may be spaces obtained by further dividing the divided space managed by each processing node. For example, as shown in the figure, a processing node may divide the divided space it is responsible for into 2×2×2=8 cells and manage them. This allows the processing system to at least partially manage the charge and potential in the space on a cell-by-cell basis rather than on a particle-by-particle basis, thereby improving calculation efficiency.
[0015] As an example, the processing system may perform dynamics simulations of a molecule or a group of molecules having 100-1 million atoms, with a side of a cell ranging from 1 to 100 nm.
[0016] Fig. 3 shows a block diagram of a processing device 10 in this embodiment. A processing node (and a chip) in a processing system may be realized by the processing device 10 shown in Fig. 3. The processing device 10 includes a memory 100, a processing unit 200, a memory controller 300, a network interface 400, and a convolution unit 600.
[0017] The memory 100 stores particle data, information about the storage location of the particle data within the memory 100, and the like. The memory 100 includes a particle data memory 110, a cell information memory 120, a memory block information memory 130, a mask pattern memory 140, and a mask table memory 150.
[0018] The particle data memory 110, the cell information memory 120, the memory block information memory 130, the mask pattern memory 140, and the mask table memory 150 may be implemented by a single physical memory, or may be implemented by multiple physical memories.
[0019] The particle data memory 110 stores particle data for each of a plurality of particles arranged in space. The particle data may be data indicating a physical state of a particle. For example, the particle data memory 110 may store information on a particle number, coordinates, mass, and charge for a plurality of particles as particle data. The particle number may include a relative number within a cell to which the particle belongs. Additionally / alternatively, the particle number may include an absolute number within space.
[0020] The particle data memory 110 may further store information such as velocity and / or acceleration for a plurality of particles as particle data. The particle data may also include mask pattern identification information, which will be described later. The particle data may also include attributes, which will be described later. The particle data memory 110 may also store data other than particles.
[0021] The cell information memory 120 stores cell information indicating memory locations in the particle data memory 110 that are assigned to store particle data of particles in each cell, in association with the cell number of each cell handled by the processing device 10. For example, the cell information may indicate multiple memory blocks in the particle data memory 110, in association with the cell number of each cell. As an example, the cell information may be an address conversion table that converts a cell number into an address in the particle data memory 110.
[0022] This makes it possible to acquire a memory location in the particle data memory 110 where the particle data of the target particle is stored by specifying the cell number of the target particle and the particle number within the cell. The cell information memory 120 may store the number of particles in the cell as cell information. The cell information may also include attributes, which will be described later.
[0023] The memory block information memory 130 stores memory block information for managing used or unused memory blocks in the particle data memory 110. For example, the memory block information memory 130 may store, as memory block information, a pair of an address corresponding to a memory block in the particle data memory 110 and an indicator showing whether the memory block is used or unused.
[0024] The mask pattern memory 140 stores a plurality of mask patterns that specify whether or not each of the other particles should be subject to at least one of high and low exclusion in the calculation of the force and / or potential acting on the particle to be calculated. For example, adjacent atoms in a molecule are bonded to each other by covalent bonds, and the effects of such inter-atomic Coulomb forces, van der Waals forces, etc. may be incorporated in the covalent bonds.
[0025] In such a case, the processing device 10 uses a mask pattern to eliminate the effect of the Coulomb force acting between adjacent atoms, so that the same force is not substantially taken into account twice. Here, the elimination of the effects of the Coulomb force, van der Waals force, etc. may be performed at a high level (e.g., complete elimination) (designation of "high elimination"), or at a lower level (e.g., only partial elimination) (designation of "low elimination"), and which level is to be performed may be designated by the mask pattern.
[0026] Which mask pattern each particle uses may be identified by mask pattern identification information in the particle data stored in the particle data memory 110. Details of the mask patterns will be described later.
[0027] The mask table memory 150 stores a mask table that specifies at least one of high exclusion and low exclusion between two or more particles to be calculated and two or more other particles. According to the mask pattern stored in the mask pattern memory 140, it is possible to take into consideration the exclusion of forces between particles having relatively close particle numbers, but it may not be possible to take into consideration the exclusion of forces between particles that are spatially close but have particle numbers far apart, such as adjacent atoms in a cyclic molecule or between atoms that form disulfide bonds in a giant protein.
[0028] Therefore, the processing device 10 can individually store specifications such as high exclusion and low exclusion between a plurality of particles or particle groups with separate particle numbers in the mask table memory 150, and can take into account the exclusion of forces between particles that are spatially close but have separate particle numbers. The mask table will be described in detail later.
[0029] The processing unit 200 calculates the force and potential acting from each of the other particles for each of the multiple particles arranged in space, and calculates and updates the position of the particle. The processing unit 200 may divide the calculation among multiple types of arithmetic circuits and execute the calculation. For example, the processing unit 200 may include multiple pipelines 210, multiple cores 220, and a long-distance unit 230. The processing unit 200 may include a general-purpose processor, a local memory, other circuits, and the like, as necessary.
[0030] The multiple pipelines 210 cooperate to calculate a part of the force and / or potential acting between the multiple particles. For example, the multiple pipelines 210 cooperate to calculate the short-range Coulomb force acting between the particles and the van der Waals force acting between the particles. Here, the short-range Coulomb force may be the Coulomb force acting within the space of one cell and adjacent cells. In the following description, the "short-range Coulomb force and / or van der Waals force, and / or their potentials" is also referred to as the "short-range Coulomb force, etc."
[0031] The multiple pipelines 210 may omit calculations of short-range Coulomb forces between some particles by using a mask pattern stored in the mask pattern memory 140. For example, when "high exclusion" means total exclusion, the multiple pipelines 210 may not perform calculations of short-range Coulomb forces between particles designated as "high exclusion", or may set the results of these calculations to 0. For example, when "high exclusion" means partial exclusion, the multiple pipelines 210 may multiply the calculations of short-range Coulomb forces between particles designated as "high exclusion" by a predetermined coefficient.
[0032] Furthermore, the multiple pipelines 210 may reduce short-range Coulomb forces between some particles using a mask pattern stored in the mask pattern memory 140. For example, the multiple pipelines 210 may multiply the calculation of short-range Coulomb forces between particles designated as "low exclusion" by a predetermined coefficient (e.g., 1 / 2 or 1 / 4) that is larger than the coefficient used for "high exclusion." For example, the processing unit 200 may include eight pipelines 210.
[0033] The core 220 calculates another part of the forces acting between the multiple particles. For example, the core 220 calculates the covalent bond force. The core 220 may have a dedicated memory such as an SRAM for use as an instruction memory or the like.
[0034] The core 220 may integrate the forces acting on each particle, calculate the acceleration and velocity of each particle from the integrated forces and mass, and further calculate the position (e.g., three-dimensional coordinates) of each particle at the next simulation time. Here, the core 220 may integrate the long-range Coulomb forces calculated by the convolution unit 600 (described later) in addition to the covalent bond forces calculated by itself and the short-range Coulomb forces calculated by the multiple pipelines 210. The core 220 may also calculate the electric potential of each particle.
[0035] The multiple cores 220 may share the cells handled by the processing device 10. For example, the processing unit 200 may include eight cores 220, and each core may be responsible for processing one or more cells in the space shown in FIG. 2. Multiple cores may be responsible for processing one cell. For example, one core 220 may calculate the force acting on a particle included in cell A in FIG. 2 and the position of the particle, and another core 220 may calculate the force acting on a particle included in cell B in FIG. 2 and the position of the particle. The processing unit 200 may also include a core 220 for controlling the pipeline 210 in addition to the cores 220 responsible for each cell.
[0036] The pipeline 210 and the core 220 of the processing unit 200 access the particle data stored in the particle data memory 110 via the memory controller 300. The processing unit 200 may access the particle data of a particle included in a cell obtained by dividing a space by designating a cell number.
[0037] For example, the core 220 may write to particle data stored in the particle data memory 110 via the memory controller 300. As an example, the core 220 may send a write request to the memory controller 300 to request writing to the particle data by specifying a cell number and a particle number within the cell.
[0038] Furthermore, the core 220 may add a particle to a cell with a specified cell number via the memory controller 300 in accordance with updating the position of the particle (e.g., movement of the particle between cells). For example, the core 220 may send an addition request to the memory controller 300 instructing to add a particle to a cell with a specified cell number. The core 220 may be realized by hardware or software (i.e., a program). In the latter case, the software (program) may be recorded on a recording medium (e.g., a volatile or non-volatile memory).
[0039] The long-distance unit 230 calculates the forces acting between particles that are not calculated by the processing unit 200. For example, the long-distance unit 230 calculates the long-distance Coulomb forces acting between particles in cooperation with the convolution unit 600. As an example, the long-distance unit 230 may calculate the charges of the lattice points included in the divided space that the processing device 10 is responsible for by an interpolation calculation from the charges of multiple particles assigned to the lattice points included in the divided space that the processing device 10 is responsible for among the lattice points provided in the space. In addition, the force and potential energy of the particle position may be calculated by an interpolation calculation from the electric potential of the lattice points. The operation of the long-distance unit 230 will be described in detail later.
[0040] The memory controller 300 mediates access from the processing unit 200 to particle data stored in the memory 100. In response to receiving an access to particle data with a specified cell number, the memory controller 300 identifies the storage location of the particle data to be accessed in the particle data memory 110 by using the cell information associated with the specified cell number. For example, the memory controller 300 may identify the storage location of the particle data to be accessed by referring to the cell information in the cell information memory 120.
[0041] Furthermore, the memory controller 300 may write to particle data in the particle data memory 110 in response to a request from the processing unit 200. For example, in response to receiving a write request from the processing unit 200, the memory controller 300 may write write data to particle data at a memory location in the particle data memory 110 that is indicated by cell information associated with a specified cell number and a particle number within the specified cell.
[0042] Furthermore, the memory controller 300 may add particle data to the particle data memory 110 in response to a request from the processing unit 200. For example, in response to receiving an addition request from the processing unit 200, the memory controller 300 may add the particle data of the particle to a memory location in the particle data memory 110 that is indicated by the cell information associated with a specified cell number.
[0043] Furthermore, the memory controller 300 may allocate an unused memory block of the particle data memory 110 to the cell. For example, when allocating a memory block to a cell, the memory controller 300 may select an unused memory block from among the memory blocks available to the particle data memory 110, using the memory block information stored in the memory block information memory 130. Note that, when the particle data memory 110 stores data other than particles, the memory controller 300 may exclude the memory block that stores data other than particles from allocation to the cell.
[0044] Furthermore, memory controller 300 may perform competing operations on the same cell from multiple processing units. For example, when memory controller 300 receives multiple competing add requests on the same cell from multiple processing units, memory controller 300 may process each of the multiple add requests atomically.
[0045] The network interface 400 mediates communication between the processing device 10 and the outside (e.g., another processing device 10). This allows the processing device 10 to communicate with another processing device 10 that is responsible for a non-responsible cell that is not the processing device 10 itself, and to obtain particle data of particles in the non-responsible cell from the other processing device 10.
[0046] The convolution unit 600 calculates forces acting between particles that are not calculated by the processing unit 200. For example, the convolution unit 600 works with the long-distance unit 230 to calculate long-range Coulomb forces acting between particles. For example, the convolution unit 600 calculates the potential of a lattice point from the charge of the lattice point by a convolution operation, and provides it to the long-distance unit 230. The convolution unit 600 may use a method of assigning the charge of a particle to a lattice point in order to reduce the amount of calculation and the calculation time of the long-distance Coulomb force. The operation of the convolution unit 600 will be described in detail later.
[0047] For example, the convolution unit 600 may calculate the electric potential of a lattice point included in the divided space that the processing device 10 is responsible for by a convolution operation from the electric charges of a plurality of particles assigned to the lattice points included in the divided space that the processing device 10 is responsible for among the lattice points provided in the space. The convolution units 600 in the plurality of processing devices 10 may communicate with each other and sequentially convolve a value according to the electric charge of each lattice point in each axial direction of a plurality of axes. The convolution unit 600 may be realized by hardware or may be realized by software (i.e., a program). In the latter case, the software (program) may be recorded in a recording medium (e.g., a volatile or non-volatile memory). Details of the processing of the convolution unit 600 will be described later.
[0048] In this way, the multiple processing devices 10 communicate with each other, calculate the forces acting on the particles, the particle positions, and the like, using dedicated hardware such as the pipeline 210 and the core 220, and store the calculation results in a predetermined storage location in the memory 100. Since the storage location of each particle is managed by the cell information memory 120, etc., it is also possible to complete the processing without rewriting the particle data memory 110, even when a particle moves between cells or a particle is added.
[0049] According to this embodiment, the memory controller 300 manages access to the memory 100 of the processing unit 200, so that it is possible to manage a plurality of particles on a cell without using software to synchronize between a plurality of pipelines 210 or cores 220. Also, according to this embodiment, it is possible to read particle data by cell number, so that the same pipeline command and network command can be reused even if a particle moves between cells.
[0050] Fig. 4 shows an example of the memory contents of the memory 100 in this embodiment. Fig. 4 shows cell A and cell D that store a maximum of 64 particles. The particle data memory 110 has a large number of memory blocks (hereinafter also referred to as MB), of which memory blocks 1 to 4 can store particle data of 64 particles of cell A. Here, each memory block may store particle data for a maximum of 16 particles. Furthermore, the particle data memory 110 may store particle data for a maximum of 16 particles of cell D in memory block 16.
[0051] The cell information memory 120 stores the storage position of the particle in the particle data memory 110 in association with the cell number. For example, the cell information memory 120 stores the address corresponding to memory blocks 1 to 4 (for example, the top address of memory block 1) in association with cell A as cell information.
[0052] This indicates that, among the particles belonging to cell A, the 1st to 16th particles correspond to memory block 1 of the particle data memory 110, the 17th to 32nd particles correspond to memory block 2 of the particle data memory 110, the 33rd to 48th particles correspond to memory block 3 of the particle data memory 110, and the 49th to 64th particles correspond to memory block 4 of the particle data memory 110.
[0053] Here, the particle data memory 110 and the cell information memory 120 may store duplicated particle data. For example, the particle data memory 110 may include a first area for storing particle data of a plurality of particles at the current simulation time, and a second area for storing particle data of the plurality of particles at the next time. When particles are rearranged in each cell as the particles move, the particle data whose storage location is specified in the first area may be reallocated to a storage location in the second area.
[0054] Here, the cell information memory 120 may also have a first set and a second set corresponding to the first and second regions of the particle data memory 110. For example, the cell information memory 120 may store a first set of multiple pieces of cell information associated with multiple cells, and a second set of multiple pieces of cell information associated with multiple cells. Then, in a process of relocating the multiple particles to each cell as the multiple particles move in space, the processing unit 200 may reallocate the particle data of each particle, whose storage location is specified by the first set of multiple pieces of cell information, to a storage location specified by the second set of multiple pieces of cell information.
[0055] 4 shows that in the first set of cell information memory 120, current particle data belonging to cell A is stored in MB1-4 of particle data memory 110, and current particle data belonging to cell B is stored in MB5-8 of particle data memory 110. Also, in the second set of cell information memory 120, next time particle data belonging to cell A is stored in MB1'-4' of particle data memory 110, and next time particle data belonging to cell B is stored in MB5'-8' of particle data memory 110. Here, MB1'-4' are blocks different from MB1-4, and MB5'-8' are blocks different from MB5-8.
[0056] The cell information memory 120 may store the number of particles in a cell. For example, as shown in the figure, the cell information memory 120 stores that the number of particles in cell A is 11 and the number of particles in cell B is 16. The memory block information memory 130 indicates whether memory block 1, memory block 2, etc. are used or unused.
[0057] 5 to 7 show examples of memory processing in this embodiment.
[0058] 5 shows an example of adding a particle to an atomic cell by the memory controller 300. Assume that a certain cell contains only particle A. Here, core 1 (corresponding to one of the cores 220 shown in FIG. 3) transmits a particle addition command (Append command) to the memory controller 300. In response to this, the memory controller 300 accesses the particle data memory 110 to add a new particle B to the cell.
[0059] Also, core 2 (corresponding to another one of the cores 220 shown in FIG. 3) transmits a particle addition command (Append command) to the memory controller 300. In response to this, the memory controller 300 accesses the particle data memory 110 and adds a new particle C to the cell. The memory controller 300 may perform such a memory access process once (atomically).
[0060] In this way, the memory controller 300 controls the addition of particles to the memory. If each core adds particles by accessing the memory independently without going through the memory controller 300, a contention in processing may occur. However, according to this embodiment, such contention is avoided by the memory controller 300.
[0061] 6 shows an example of atomic arithmetic processing by the memory controller 300. Assume that arithmetic processing (e.g., summation of multiple types of forces) is performed on a certain cell (e.g., a specific particle). Here, core 1 (corresponding to one of the cores 220 shown in FIG. 3) of the processing unit transmits an update request (e.g., an ACCUM command instructing accumulation) to update predetermined data by arithmetic to the memory controller 300. In response to receiving the update request, the memory controller 300 accesses the particle data memory 110 to execute arithmetic processing (e.g., A+B) and update the data with the arithmetic result.
[0062] Also, core 2 (corresponding to another one of the cores 220 shown in FIG. 3) transmits an update request (e.g., an ACCUM command) to the memory controller 300. In response to this, the memory controller 300 accesses the particle data memory 110 and executes the arithmetic process (A+B+C). Such arithmetic process may be performed once (atomically).
[0063] In this way, the memory controller 300 controls the arithmetic processing on the memory. If each core performs arithmetic by reading and writing to the memory independently without going through the memory controller 300, processing conflicts may occur. However, according to this embodiment, the memory controller 300 prevents such conflicts.
[0064] 7 shows another example of the atomic accumulation process by the memory controller 300. The memory 100 may store an attribute indicating whether or not the particle data of each particle has been updated at the current simulation time. For example, the attribute may be associated with each of a plurality of particles and indicate whether or not predetermined data in the particle data of each particle has been updated at the current simulation time. The attribute may be held in at least one of the particle data of each particle stored in the particle data memory 110 and the cell information corresponding to each particle stored in the cell information memory 120.
[0065] In response to the access of predetermined data in the particle data of a particle, the memory controller 300 may select whether to use the value recorded in the predetermined data or an initial value based on the attribute.
[0066] 7, initially, data A and attribute T-1 for a target particle are stored in the particle data memory 110. At the next time T, a core 1 (corresponding to one of the cores 220 shown in FIG. 3) transmits an update request (e.g., an ACCUM command) to the memory controller 300.
[0067] In response to receiving the update request, the memory controller 300 performs an operation on the value recorded in the predetermined data to update it if the predetermined data has been updated at the current simulation time, and performs an operation on the initial value to update the predetermined data if the predetermined data has not been updated at the current simulation time.
[0068] For example, the memory controller 300 compares the attribute T-1 of the target particle with the current time T and determines that they do not match. In response, the memory controller 300 accesses the particle data memory 110, discards data A for the target particle, and updates it with the initial value B included in the ACCUM instruction. At the same time, the memory controller 300 updates the attribute of the target particle from T-1 to T.
[0069] Furthermore, core 2 (corresponding to another one of the cores 220 shown in FIG. 3) sends an update request (e.g., an ACCUM command) to the memory controller 300. The memory controller 300 compares the attribute T of the target particle with the current time T and determines that they match. In response, the memory controller 300 uses the stored data B of the target particle to access the particle data memory 110 and executes an accumulation process (B+C).
[0070] According to the embodiment shown in FIG. 7, the memory controller 300 sets the calculation result to an initial value (e.g., 0) depending on the value of the attribute. When each core 220 accesses the memory 100 to perform an accumulation process (e.g., summing up a plurality of types of forces), the core 220 that accesses the memory 100 must first write the initial value 0 (also called 0 clear), but this process takes time. On the other hand, according to the present embodiment, the memory controller 300 does not need to clear the memory to 0, and it is possible to perform an accumulation process with the initial value set to 0 depending on the value of the attribute. Note that, when the particle data memory 110 stores data other than particles, the attribute may be applied not only to particle data but also to data other than the particle.
[0071] 8 to 12 show an example of a method for processing long-range forces (e.g., long-range Coulomb forces) in this embodiment. For example, the processing device 10 (1) performs charge assignment, which approximately assigns the charge of each particle in space to a relatively small number of lattice points provided in the space, (2) performs potential calculation, which calculates the potential on the lattice points, and (3) then performs packed interpolation, which calculates the force on each particle based on the potential on the lattice points. Such a method is also known as Particle Mesh Ewald (PME). In this embodiment, the long-range unit 230 performs (1) and (3), and the convolution unit 600 performs (2).
[0072] Here, (2) the electric potential calculation is performed by solving a Poisson equation including lattice charges. The Poisson equation is solved by multiplying the charge value of the lattice points by a coefficient (kernel) according to the distance between the lattice points, and adding the contributions from all lattice points within a predetermined range by convolution. Here, the convolution may be performed by adding up the results of dense, short-distance convolution and sparse, long-distance convolution. This type of method is known as the Multilevel Summation Method (MSM: Skeel et al., 2002; Hardy et al., 2016).
[0073] An example of a solution method using MSM is shown in Fig. 8. In the following figures, for the sake of explanation, lattice points arranged two-dimensionally (in two-axis directions) are illustrated, but in practice lattice points arranged three-dimensionally (in three-axis directions) may be used.
[0074] As shown in the figure, the convolution unit 600 may perform convolution at three levels of density, for example, levels 1 to 3. To calculate the potential of a target grid point (indicated as T in the figure), the convolution unit 600 first calculates the contribution to the target grid point T from a neighboring grid point 66 at level 1, which is the densest level.
[0075] Next, the convolution unit 600 calculates the contribution to the target lattice point T from the neighboring lattice point 64 at level 2, which is the intermediate density level. Furthermore, the convolution unit 600 calculates the contribution to the target lattice point T from the neighboring lattice point 62 at level 3, which is the sparsest level. The convolution unit 600 may calculate the electric potential of the target lattice point T by adding up the contributions at levels 1 to 3.
[0076] Each of the lattice points at any of levels 1 to 3 may correspond to a cell. For example, each lattice point at level 3 may correspond to a center point or a vertex of each cell. Also, for example, a predetermined number of lattice points at level 3 (e.g., eight lattice points) may be provided for each cell.
[0077] FIG. 9 shows an overview of the convolution process at one level. In the example of this figure, each processing node (chip) is responsible for four lattice points. The lattice points may correspond to cells. As an example, one lattice point corresponds to one cell.
[0078] The convolution unit 600 performs convolution taking into consideration the charges from the target lattice point T to lattice points within a cutoff range (e.g., two adjacent lattice points) in one direction. In the example of Fig. 9, the potential of the target lattice point T handled by chip 5 is determined at least in part based on the convolution of the charges of one adjacent lattice point handled by chip 1, two adjacent lattice points handled by chips 2 to 4 and chip 7, and four adjacent lattice points (which may include the target lattice point itself) handled by chips 5 to 6 and chips 8 to 9.
[0079] Here, chip 5 may communicate with chips 1 to 4 and chips 6 to 9 individually to acquire the charge of each adjacent lattice point, but in that case, the overhead due to communication rather than the calculation time may become a bottleneck in processing time. Therefore, in this embodiment, the lattice points are separated in the axial direction and convolution is performed separately on each axis, thereby reducing the communication time between chips and reducing the overall processing time.
[0080] For example, the convolution units 600 of the multiple processing nodes may separate the convolution operations on multiple axes into convolutions in each axial direction by approximating a function that calculates coefficients according to the distance between lattice points in multiple axes using a combination of kernel functions separated for each of the multiple axes.
[0081] For example, the convolution unit 600 calculates, for each axis, x' n =a -2 x n-2 +a -1 x n-1 +a0x n +a1x n+1 +a2x n+2 …Formula 1 The convolution operation may be performed by computing n is the electric potential at the target lattice point T, and a -2 ~a2 is a coefficient according to the distance between lattice points, and x n-2 ~x n+2 is the charge at each lattice point.
[0082] The convolution unit 600 may convolve a value corresponding to the value of the charge or the like received from another processing node (chip) that is responsible for the grid points in a predetermined range in the first axis direction into the grid point that it is responsible for. For example, the convolution unit 600 may convolve a value corresponding to the value of the charge or the like (e.g., x n-2 ~x n+2 ) and calculate the above formula 1 to calculate the x-direction contribution and the y-direction contribution of the target lattice point.
[0083] Furthermore, the convolution unit 600 transmits information on charges of the lattice points it is responsible for and / or its calculation results to the convolution unit 600 of another chip. For example, each of the convolution units 600 of multiple processing nodes (chips) transmits values of charges, etc., assigned to the lattice points it is responsible for to another processing node that is responsible for lattice points in a predetermined range in a first axis direction among multiple axes.
[0084] For example, the convolution unit 600 multicasts the charge and / or the calculation result to the convolution units 600 present in the necessary range in each axis direction. As an example, the convolution unit 600 may multicast the charge etc. to the convolution units 600 adjacent by one or more chips in the y direction and / or z direction.
[0085] The convolution unit 600 may determine the end of the convolution in the first axis direction in response to the number of times of reception from other processing units in charge of lattice points in a predetermined range reaching a predetermined number. For example, the convolution unit 600 of the chip 5 in FIG. 10 may determine the end of the convolution in the X direction in response to receiving one charge from the chip 4 and two charges from the chip 6 (i.e., receiving three charges in total). Similarly, the convolution unit 600 of the chip 5 in FIG. 11 may determine the end of the convolution in the Y direction in response to receiving one charge from the chip 2 and two charges from the chip 8 (i.e., receiving three charges in total).
[0086] Then, the convolution unit 600 may calculate the potential of each lattice point based on the convolution results calculated at multiple coarse and fine levels. For example, the convolution unit 600 of the multiple processing nodes may convolute the charge assigned to each first lattice point (for example, the lattice point shown at level 1 in FIG. 8) obtained by dividing the space into first units, within a first range from each first lattice point, using the method described with reference to FIG. 9 to FIG. 11.
[0087] By aggregating the charges at the first grid points, the convolution unit 600 may calculate the charges assigned to each second grid point (e.g., the grid points shown at level 2 in FIG. 8) that divides the space into second units that are larger than the first units.
[0088] The convolution unit 600 may then calculate the potential of the second grid point from the calculated charge, and may calculate the potential of each first grid point by convolving the potential found at the second grid point within the first range. The convolution unit 600 may further calculate the charge assigned to each third grid point (e.g., the grid point shown at level 3 in FIG. 8) obtained by dividing the space into a third unit larger than the second unit, calculate the potential of each third grid point, and may further use these to calculate the potential of each first grid point.
[0089] The integration of the convolution results calculated at multiple coarse and fine levels may be realized by hardware separate from the convolution unit 600. For example, the processing system or the processing device 10 may have a separate dedicated circuit such as an FPGA, and the integration of the convolution results may be performed by the dedicated circuit.
[0090] FIG. 12 shows an example of potential calculation by the convolution unit 600 performed at three levels. As shown in the figure, the charges (64 3 Based on the charge, the charge at the larger unit of 32 grid points x 32 grid points x 32 grid points (32 3 The charge is calculated. 3 Based on the electric charge, the electric charge at the 16 grid points x 16 grid points x 16 grid points of the larger unit (16 3 The charge) is calculated.
[0091] And 16 3 The electric potential at the same lattice point from the charge (16 3 The potential is calculated. 16 3 Potential and 32 3 Based on the charge, the potential at 32 grid points x 32 grid points x 32 grid points (32 3 The potential is calculated. 3 Potential and 64 3 Based on the charge, the potential at 64 grid points x 64 grid points x 64 grid points (64 3 The potential) is calculated.
[0092] According to this embodiment, the convolution calculation can be performed in any order in each axis direction at each level, and the end of the calculation for each grid point can be determined by the number of received data. In addition, the convolution unit 600 does not need to perform the next calculation until the data in the previous axis direction required for the calculation is available, so that the state can be automatically transitioned without requiring synchronization processing.
[0093] Moreover, according to this embodiment, the interpolation calculation required for MSM to connect upper and lower lattice levels is also realized by one piece of hardware (i.e., the convolution unit 600). According to this embodiment, the overall processing time can be reduced by reducing the amount of communication between processing nodes, compared to the case where the Poisson equation is solved by FFT.
[0094] An example of the particle exclusion function in this embodiment will be described with reference to FIGS. 13 to 16B.
[0095] Fig. 13 shows an example of a mask pattern used for the excluded particle function. Each of the multiple mask patterns stored in the mask pattern memory 140 specifies whether or not each of other particles having a relative particle number predetermined for the particle number of the particle to be calculated should be subject to at least one of high exclusion and low exclusion. For example, Fig. 13 shows a mask pattern that indicates whether a particle with particle number i=1 should subject another particle (particle number j=2, 3, 4...) to high exclusion or low exclusion in the calculation of short-range Coulomb force, etc.
[0096] The mask pattern in FIG. 13 has values of "000110...", where "0" indicates not to exclude and "1" indicates to exclude. The mask pattern also includes specifications for both high and low exclusion for different particles. For example, the mask pattern has a mask value of "00" for particle number 1 with respect to particle number 2, indicating that particle number 1 does not exclude particle number 2 from low and high exclusion.
[0097] Also, for example, the mask pattern has a mask value of "01" for the particle with particle number 1 with respect to the particle with particle number 3. This indicates that the particle with particle number 1 targets the particle with particle number 3 for low exclusion. Similarly, the mask pattern has a mask value of "10" for the particle with particle number 4 with respect to the particle with particle number 1. This indicates that the particle with particle number 1 targets the particle with particle number 4 for high exclusion.
[0098] Based on the value of this mask pattern, the pipeline 210 of the processing unit 200 may omit a part of the calculation of the short-range Coulomb force, etc. For example, the pipeline 210 may calculate the short-range Coulomb force, etc. between the particle of particle number 1 and the particle of particle number 2, and may cancel the result of the calculation of the short-range Coulomb force, etc. between the particle of particle number 1 and the particle of particle number 3 at a predetermined ratio of low exclusion, and may cancel the short-range Coulomb force, etc. between the particle of particle number 1 and the particle of particle number 4 at a predetermined ratio of high exclusion, for example, when high exclusion means total exclusion, it is not necessary to calculate the short-range Coulomb force, etc. (or these forces, etc. may be set to 0).
[0099] Here, to simulate interactions between particles with high accuracy, mask patterns between all particle pairs must be stored. However, storing mask patterns for all particle pairs can be difficult due to restrictions on memory capacity and mask width. On the other hand, performing force calculations individually taking into account high exclusion / low exclusion / non-exclusion between particles without relying on mask patterns results in an increase in calculation time.
[0100] Here, the inventors have noted that large proteins and the like that are the subject of molecular dynamics simulations often have identical / similar partial structures, such as repeats of amino acids with a predetermined structure. Therefore, many similar mask patterns to be applied to particles also appear. Therefore, according to this embodiment, instead of limiting the mask patterns to a limited number of patterns, the mask width is increased, thereby realizing more efficient elimination of short-range Coulomb forces and the like. In this embodiment, mask pattern identification information is used to specify the limited number of mask patterns.
[0101] Fig. 14 shows an example of mask pattern identification information in this embodiment. The mask pattern identification information identifies, for each of a plurality of particles, a mask pattern among a plurality of mask patterns to be used in calculating the force acting on each particle. The particle data memory 110 may store mask pattern identification information as shown in Fig. 14 as a part of the particle data.
[0102] For example, as shown in the figure, particle data for a particle with particle number 1 includes pattern number 1023 as mask pattern identification information. In this case, it is indicated that the particle with particle number 1 uses the mask pattern specified by pattern number 1023. Similarly, particle data for a particle with particle number 2 includes pattern number 442 as mask pattern identification information. In this case, it is indicated that the particle with particle number 2 uses the mask pattern specified by pattern number 442.
[0103] 15 shows an example of a mask pattern used in this embodiment. Each of the multiple mask patterns includes a mask bit string of a predetermined length, and a setting value for setting the number of bits to be allocated to designate other particles to be excluded from the mask bit string in a calculation acting on the particle to be calculated, and to designate other particles to be excluded in a low level.
[0104] For example, the mask pattern shown in Fig. 15 has a bit length of 77 bits, and includes a 72-bit mask bit string and a 5-bit setting value. The 5-bit setting value can specify a designated value from 0 to 31. Depending on the designated value, the 72-bit mask bit string is divided into a first mask of 8 to 40 bits and a second mask of 32 to 64 bits. For example, if the setting value is 10, the 72-bit mask bit string is divided into a first mask of 18 bits and a second mask of 54 bits.
[0105] The first mask is used to specify other particles to be highly excluded in the calculation of forces acting on the particle to be calculated. For example, when the first mask "0101..." is used for a particle with particle number 1, the short-range Coulomb force between the particle with particle number 1 and the particle with particle number 3, and the short-range Coulomb force between the particle with particle number 1 and the particle with particle number 5 may be attenuated at a predetermined rate of high exclusion. When high exclusion means total exclusion, the short-range Coulomb force may not be calculated (or these forces may be set to 0).
[0106] The second mask is used to specify other particles to be excluded in the calculation of the force acting on the particle to be calculated, etc. For example, when the second mask of "0010..." is used for the particle with particle number 1, a part (e.g., 1 / 2 or 1 / 4) of the short-range Coulomb force between the particle with particle number 1 and the particle with particle number 4 may be excluded.
[0107] The second mask used for low exclusion may have a larger mask width than the first mask used for high exclusion, allowing the effects of low exclusion, which may have a longer range than high exclusion, to be taken into account at atoms further away than high exclusion.
[0108] 15 has pattern number 442. Therefore, this mask pattern is used when 442 is designated in the mask pattern identification information of the particle data. The mask pattern memory 140 may store a predetermined number of mask patterns (for example, 1024).
[0109] Furthermore, the processing device 10 may use a mask table to further consider high / low exclusion relationships between particles that cannot be covered by a predetermined number of mask patterns stored in the mask pattern memory 140. For example, a high / low exclusion pattern between particle groups that are spatially close but have distant particle numbers, such as adjacent atoms in a cyclic molecule, may be specified in the mask table.
[0110] 16A and 16B show an example of a mask table in this embodiment. The mask table may be stored in the mask table memory 150 and may specify at least one of high and low exclusion, such as short-range Coulomb forces acting between two particle groups with particle numbers that are not covered by the mask pattern. FIG. 16A shows a mask table with high exclusion, and FIG. 16B shows a mask table with low exclusion. There may be as many combinations of particle groups represented by the mask tables stored in the mask table memory 150 as there are mask tables stored (for example, 16 combinations).
[0111] For example, in the example of FIG. 16A, the particle with particle number 101 has a high exclusion pattern of "100" with respect to particles with particle numbers 221, 222, and 223. Also, in the example of FIG. 16B, it has a low exclusion pattern of "010". This indicates that the particle with particle number 221 is highly excluded (e.g., completely excluded) with respect to the particle with particle number 101, and the particle with particle number 222 is low excluded (e.g., partially excluded) with respect to the particle with particle number 101. Similarly, it is indicated that the particle with particle number 222 is highly excluded (e.g., completely excluded) with respect to the particle with particle number 102, and the particle with particle number 223 is low excluded (e.g., partially excluded) with respect to the particle with particle number 103.
[0112] Here, the information for specifying at least one of high exclusion and low exclusion stored in the mask table may be able to specify which combination of particles in two particle groups with different particle numbers corresponds to a predetermined correspondence relationship. One example is the oblique mode described in FIG. 17.
[0113] 17A and 17B show an example of a high exclusion mask table oblique mode in this embodiment. The processing device 10 of this embodiment may have, for example, an oblique mode shown in FIG. 17A and FIG. 17B in relation to the use of the mask table. When the oblique mode is specified, the specified range of high exclusion / low exclusion indicated by the mask value of the mask table shifts by a predetermined number (for example, one) according to the particle number. In the example of FIG. 17A, it is shown that the particle of particle number 221 is highly excluded (for example, completely excluded) with respect to the particle of particle number 101, and the particle of particle number 223 is highly excluded (for example, completely excluded) with respect to the particle of particle number 102, and in the example of FIG. 17B, it is shown that the particle of particle number 222 is low excluded (for example, partially excluded) with respect to the particle of particle number 101, and the particle of particle number 225 is low excluded (for example, partially excluded) with respect to the particle of particle number 103.
[0114] As described above, according to the processing system and processing device 10 of the present embodiment, it is possible to execute a molecular dynamics simulation more quickly and efficiently than when a conventional dedicated computer is used.
[0115] Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. It is clear to those skilled in the art that various modifications and improvements can be made to the above embodiments. It is clear from the description of the claims that such modifications and improvements can also be included in the technical scope of the present invention.
[0116] It should be noted that the order of execution of each process, such as operations, procedures, steps, and stages, in the devices, systems, programs, and methods shown in the claims, specifications, and drawings is not specifically stated as "before," "prior to," etc., and may be realized in any order unless the output of a previous process is used in a later process. Even if the operational flow in the claims, specifications, and drawings is explained using "first," "next," etc. for convenience, it does not mean that it is essential to perform the process in this order.
[0117] Examples of various aspects of this embodiment are listed below as items. [Item 1] a particle data memory that stores particle data for each of a plurality of particles disposed in a space; a cell information memory for storing cell information indicating a memory position in the particle data memory that is assigned to store particle data of a particle in each cell, in association with a cell number of each cell obtained by dividing the space; a processing unit for accessing particle data of particles included in cells obtained by dividing the space by designating a cell number; a memory controller that, in response to receiving an access to particle data with a specified cell number, identifies a storage location of the particle data to be accessed in the particle data memory using cell information associated with the specified cell number; A processing device comprising: [Item 2] The processing unit transmits an add request to the memory controller to instruct the memory controller to add a particle to a cell having a specified cell number; The processing device according to item 1, wherein the memory controller, in response to receiving an add request, adds particle data of the particle to a memory location in the particle data memory indicated by cell information associated with a specified cell number. [Item 3] 3. The processing device according to item 2, wherein when the memory controller receives multiple conflicting add requests for the same cell from multiple processing units, the memory controller processes each of the multiple add requests atomically. [Item 4] The processing unit transmits a write request to the memory controller, the write request specifying a cell number and a particle number within the cell, and requesting writing of the particle data; A processing device according to any one of items 1 to 3, wherein, in response to receiving a write request, the memory controller writes write data to the particle data at a memory location in the particle data memory indicated by cell information associated with a specified cell number and a particle number within the specified cell. [Item 5] 5. The processing device according to any one of items 1 to 4, wherein the cell information memory stores cell information indicating a plurality of memory blocks in the particle data memory in association with a cell number of each cell. [Item 6] a memory block information memory for storing memory block information for managing used memory blocks or unused memory blocks in the particle data memory; The memory controller selects an unused memory block using the memory block information when allocating the memory block to the cell. 6. The processing device according to any one of items 1 to 5. [Item 7] the cell information memory stores a first set of cell information corresponding to the plurality of cells and a second set of cell information corresponding to the plurality of cells; The processing unit reallocates particle data of each particle, the storage location of which is designated by the first set of cell information, to a storage location designated by the second set of cell information, in a process of rearranging the plurality of particles to each cell as the plurality of particles move in the space. 7. The processing device according to any one of items 1 to 6. [Item 8] At least one of the particle data of each particle and the cell information corresponding to each particle holds an attribute, in association with each of the plurality of particles, indicating whether or not predetermined data in the particle data of each particle has been updated at a current simulation time; The memory controller selects whether to use a value recorded in the predetermined data or an initial value based on the attribute in response to the predetermined data being accessed in the particle data of one particle. 8. The processing device according to any one of items 1 to 7. [Item 9] The processing unit transmits an update request to the memory controller, the update request instructing the memory controller to update predetermined data by an operation; In response to receiving the update request, the memory controller performs an operation on a value recorded in the predetermined data to update the predetermined data if the predetermined data has been updated at the current simulation time, and performs an operation on an initial value to update the predetermined data if the predetermined data has not been updated at the current simulation time. Item 9. The processing device according to item 8. [Item 10] a plurality of processing nodes, each of which is responsible for a divided space obtained by dividing a space in each of a plurality of dimensional directions, and which calculates forces acting between a plurality of particles arranged in the space; A network that interconnects multiple processing nodes Equipped with Each of the plurality of processing nodes includes a long-distance unit that calculates, by an interpolation calculation, electric charges of a lattice point included in a division space that the processing node is responsible for, from electric charges of a plurality of particles that are assigned to the lattice points included in the division space that the processing node is responsible for, among lattice points provided in the space; A convolution unit is provided for calculating the potential of a grid point from the charge of the grid point by a convolution operation, The convolution units of the multiple processing nodes communicate with each other and sequentially convolve the value corresponding to the charge of each grid point in each of the multiple dimensions. Processing system. [Item 11] 11. The processing system according to item 10, wherein the convolution units of the plurality of processing nodes separate the convolution operation in the plurality of dimensions into convolutions in each dimensional direction by approximating a function that calculates a coefficient according to the distance between lattice points in the plurality of dimensions using a combination of kernel functions that are separated for each of the plurality of dimensions. [Item 12] The convolution unit of each of the plurality of processing nodes comprises: transmits the value assigned to the lattice point to another processing node that is responsible for a predetermined range of lattice points in a first dimension among the multiple dimensions; convolving a value corresponding to a value received from another processing node responsible for a lattice point in a predetermined range in a first dimension direction, into the lattice point in charge of the processing node; The end of the convolution in the first dimension is determined according to the fact that the number of times of reception from other processing units in charge of lattice points in a predetermined range has reached a predetermined number. 12. The processing system according to item 10 or 11. [Item 13] The convolution units of the multiple processing nodes include: calculating charges at second lattice points obtained by dividing the space into second units larger than the first units by convolving the charges assigned to each first lattice point obtained by dividing the space into first units within a first range from each first lattice point; calculating the potential at the first grid point by convolving the potential at each of the second grid points within the first range; 13. A processing system according to any one of items 10 to 12. [Item 14] A processing unit for calculating, for each of a plurality of particles disposed in a space, a force acting from each of the other particles; a mask pattern memory for storing a plurality of mask patterns for specifying whether or not each of the other particles should be subject to at least one of high exclusion and low exclusion in the calculation of the force acting on the particle to be calculated; a particle data memory for storing particle data including mask pattern identification information for identifying a mask pattern to be used in calculating a force acting on each particle among a plurality of mask patterns for each of the plurality of particles; A processing device comprising: [Item 15] 15. The processing apparatus according to item 14, wherein each of the plurality of mask patterns specifies whether each of other particles having a predetermined relative particle number to the particle number of the particle being calculated should be subject to at least one of high exclusion and low exclusion. [Item 16] 16. The processing device according to item 14 or 15, wherein each of the plurality of mask patterns includes a mask bit string of a predetermined length and a setting value for setting the number of bits to be allocated to designate other particles to be excluded as high particles and other particles to be excluded as low particles in the mask bit string in a calculation acting on the particle to be calculated. [Item 17] 17. The processing device according to any one of items 14 to 16, further comprising a mask table memory for storing a mask table that specifies at least one of high exclusion and low exclusion between particles of two particle groups separated by particle numbers that are not covered by the mask pattern. [Item 18] Item 18. The processing apparatus according to item 17, wherein the information specifying at least one of high exclusion and low exclusion stored in the mask table can specify which combination of particles in two particle groups having particle numbers that are far apart corresponds to a predetermined correspondence relationship. [Item 19] a particle data memory storing particle data for each of a plurality of particles disposed in space; a step in which the cell information memory stores cell information indicating a memory location in the particle data memory that is assigned to store particle data of a particle in each cell, in association with a cell number of each cell obtained by dividing the space; A processing unit accesses particle data of particles included in cells obtained by dividing the space by designating a cell number; a step of identifying a storage location of the particle data to be accessed in the particle data memory by the memory controller using cell information associated with the specified cell number in response to the access to the particle data with the specified cell number; A processing method comprising: [Item 20] a plurality of processing nodes, each of which is responsible for a divided space obtained by dividing a space in each of a plurality of dimensional directions, and which calculates forces and potentials acting between a plurality of particles arranged in the space; A network that interconnects multiple processing nodes 1. A processing system comprising: A step in which a convolution unit of each of the plurality of processing nodes calculates the electric potential of a lattice point included in a division space that the processing node is responsible for by a convolution operation from the electric charges of a plurality of particles assigned to the lattice points included in the division space that the processing node is responsible for among the lattice points provided in space; a step in which the convolution units of the plurality of processing nodes communicate with each other and sequentially convolve a value corresponding to the electric charge of each lattice point in each direction of a plurality of dimensions; The processing method according to claim 1, [Item 21] A processing unit calculates, for each of a plurality of particles disposed in a space, a force exerted by each of the other particles; a mask pattern memory storing a plurality of mask patterns each specifying whether or not each of the other particles should be subject to at least one of high exclusion and low exclusion in a calculation of a force acting on the particle being calculated; storing particle data in a particle data memory, the particle data including mask pattern identification information for identifying a mask pattern among a plurality of mask patterns to be used in calculating a force acting on each particle, for each of a plurality of particles; A processing method comprising: [Item 22] a plurality of processing nodes, each of which is responsible for a divided space obtained by dividing a space in each of a plurality of dimensional directions, and which calculates forces acting between a plurality of particles arranged in the space; A network that interconnects multiple processing nodes Equipped with Each of the plurality of processing nodes is a processing system having a convolution unit, When executed, each of the convolution units calculating, by a convolution operation, the electric potential of a lattice point included in the division space to which the particle belongs, from the electric charges of a plurality of particles assigned to the lattice points included in the division space to which the particle belongs; By communicating with each other, values according to the charge of each lattice point are convolved in each direction of multiple dimensions in sequence. program. [Item 23] A processing unit; a mask pattern memory for storing a plurality of mask patterns for specifying whether or not each of the other particles should be subject to at least one of high exclusion and low exclusion in the calculation of the force acting on the particle to be calculated; a particle data memory for storing particle data including mask pattern identification information for identifying a mask pattern to be used in calculating a force acting on each particle among a plurality of mask patterns for each of the plurality of particles; A processing device comprising: When executed, the processing unit: Calculate the force acting on each of a number of particles placed in space from each of the other particles, program. [Item 24] A recording medium having the program according to item 22 recorded thereon. [Item 25] A recording medium having the program described in item 23 recorded thereon. [Explanation of symbols]
[0118] 10 Processing equipment 62 nearby lattice points 64 nearby lattice points 66 Nearest Grid Points 100 Memory 110 Particle Data Memory 120 Cell Information Memory 130 Memory Block Information Memory 140 Mask Pattern Memory 150 Mask Table Memory 200 Processing Units 210 Pipeline 220 cores 230 Long Range Unit 300 Memory Controller 400 Network Interface 600 convolution units
Claims
1. A processing unit for calculating, for each of a plurality of particles disposed in a space, a force acting from each of the other particles; a mask pattern memory for storing a plurality of mask patterns for specifying whether or not each of the other particles should be subject to at least one of high exclusion and low exclusion in the calculation of the force acting on the particle to be calculated; a particle data memory that stores particle data for each of the plurality of particles, the particle data including mask pattern identification information that identifies a mask pattern among the plurality of mask patterns to be used in calculating a force acting on each particle; A processing device comprising:
2. 2 . The processing apparatus according to claim 1 , wherein each of the plurality of mask patterns specifies whether each of other particles having a predetermined relative particle number with respect to the particle number of the particle being calculated should be subject to at least one of high exclusion and low exclusion.
3. 3. The processing device according to claim 1, wherein each of the plurality of mask patterns includes a mask bit string of a predetermined length, and a setting value for setting a number of bits to be allocated to designate other particles to be highly excluded and other particles to be low excluded in a calculation acting on a particle to be calculated, in the mask bit string.
4. 4. The processing apparatus according to claim 1, further comprising a mask table memory for storing a mask table that specifies at least one of high exclusion and low exclusion between particles of two particle groups separated by particle numbers that are not covered by the mask pattern.
5. 5. The processing apparatus according to claim 4, wherein the information specifying at least one of high exclusion and low exclusion stored in the mask table can specify which combination of particles in two particle groups having particle numbers that are far apart corresponds to a predetermined correspondence relationship.
6. A processing unit calculates, for each of a plurality of particles disposed in a space, a force exerted by each of the other particles; a mask pattern memory storing a plurality of mask patterns each specifying whether or not each of the other particles should be subject to at least one of high exclusion and low exclusion in a calculation of a force acting on the particle being calculated; storing particle data in a particle data memory for each of the plurality of particles, the particle data including mask pattern identification information that identifies a mask pattern among the plurality of mask patterns to be used in calculating a force acting on each particle; A processing method comprising:
7. A processing unit; a mask pattern memory for storing a plurality of mask patterns for specifying whether or not each of the other particles should be subject to at least one of high exclusion and low exclusion in the calculation of the force acting on the particle to be calculated; a particle data memory for storing particle data including mask pattern identification information for identifying a mask pattern to be used in calculating a force acting on each particle among the plurality of mask patterns for each of the plurality of particles; A processing device comprising: When executed, the processing unit: Calculate the force acting on each of a number of particles placed in space from each of the other particles, program.
8. A computer-readable recording medium having the program according to claim 7 recorded thereon.
Citation Information
Patent Citations
Numerical calculation processor
JP2006236256A
