Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Parallel calculation method and apparatus used for astronomical software Griddding

A parallel computing and astronomical technology, applied in computing, multiprogramming device, program control design, etc., can solve the problems of simultaneous access by multiple threads, computing failure, inconsistent memory reading and writing, etc., to improve parallel processing capabilities and Memory access efficiency and the effect of avoiding access conflicts

Active Publication Date: 2017-06-27
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since samples[dind].iu and samples[dind].iv are generated by random numbers, resulting in different astronomical sample data, their values ​​may be the same, so for different cycle indexes dind (or for different astronomical samples data), the calculated gind values ​​may be the same, and each gind element corresponds to a unique memory address. If the data blocks are divided according to astronomical data (or dind), although different data blocks contain different astronomical samples data, but may contain the same gind element. In this case, when different threads perform convolution calculations based on the gind elements in each data block, a memory address may be accessed by multiple threads at the same time. This leads to inconsistency in reading and writing of memory, resulting in calculation failure

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Parallel calculation method and apparatus used for astronomical software Griddding
  • Parallel calculation method and apparatus used for astronomical software Griddding
  • Parallel calculation method and apparatus used for astronomical software Griddding

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The core of the present invention is to provide a parallel computing method and device for the astronomical software Gridding, which can avoid as far as possible the access conflict of each thread to the memory in the computing process, and improve the parallel processing capability and memory access efficiency of the Gridding program.

[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a parallel calculation method and apparatus used for astronomical software Griddding. The method comprises the steps of mapping a gind value corresponding to each piece of astronomical sample data in an astronomical sample array to a grid point of a standard two-dimensional grid to serve as a data point, thereby obtaining a mapping graph; performing data division by a preset step length along horizontal and longitudinal coordinates of the mapping graph to obtain a plurality of memory grids taking the preset step length as the length and the width; allocating a memory grid to each thread, wherein an index range of a starting index dind of each thread is partial astronomical sample data corresponding to the memory grid; taking the data point corresponding to the sample data currently corresponding to the starting index dind of each thread as a starting data point, performing convolutional calculation according to the starting data point and the data point in the memory grid allocated to each thread to obtain a calculation result, and writing the calculation result in a memory. According to the method and the apparatus, the access conflict of each thread to the memory can be avoided as far as possible, so that the parallel processing capability and the memory access efficiency of a Gridding program are improved.

Description

technical field [0001] The invention relates to the technical field of memory access optimization, in particular to a parallel computing method and device for astronomical software Gridding. Background technique [0002] Gridding software is a very important software in astronomy. Taking the upcoming world's largest astronomical radio telescope - the Square Kilometer Array (SKA) project as an example, Gridding's calculations account for about 30% of the total calculations. [0003] There are three layers of loops in the calculation process of Gridding. The index of the outermost loop is dind, which is used to index the astronomical sample data in the astronomical sample array, the index of the middle loop is suppv, and the index of the innermost loop is suppu. In the outermost loop, the values ​​of gind and cind are calculated based on the astronomical sample data, where the samples array stores the astronomical sample data to be processed. [0004] Since samples[dind].iu ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48G06F9/52
CPCG06F9/4843G06F9/52G06F2209/5018
Inventor 张清
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products