Markov Monte Carlo Algorithm acceleration method based on FPGA (field-programmable gate array) heterogeneous platform

A heterogeneous platform, Markov chain technology, applied in computing, program control design, instruments, etc., can solve the problems of waste of computing resources, low preheating cost, high cost, and achieve the effect of reducing cost and improving parallel efficiency

Inactive Publication Date: 2017-12-01
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The parallelism of Markov chains, the special structure of MCMC is especially suitable for parallel computing. Each thread (or process) can be used to calculate a Markov chain, and there is no need for communication between each Markov chain, so the parallel efficiency is relatively high. High, the problem with this method is that because each Markov chain needs to be preheated (the first sample needs to be removed), it will cause a waste of computing resources, and the degree of parallelism is proportional to the number of cores. This method relies on large Scale computing technology (especially cluster), so the cost is high; the parallel of numerical calculation only generates a Markav chain, and the data calculation part is parallel. This method has a small warm-up cost, but requires communication, so the parallel efficiency is low
Moreover, the degree of parallelism also depends on the number of cores, which is also based on clusters, so the cost is also high

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
  • Markov Monte Carlo Algorithm acceleration method based on FPGA (field-programmable gate array) heterogeneous platform
  • Markov Monte Carlo Algorithm acceleration method based on FPGA (field-programmable gate array) heterogeneous platform
  • Markov Monte Carlo Algorithm acceleration method based on FPGA (field-programmable gate array) heterogeneous platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] 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.

[0033] Please refer to figure 1 , figure 1 It is a flow chart of an FPGA heterogeneous platform-based Markov Monte Carlo algorithm acceleration method provided by an embodiment of the present invention. The method can include:

[0034] Step 101: The host side completes the initialization, and sends the generated random number data to the D...

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 Markov Monte Carlo algorithm acceleration method and system based on an FPGA (field-programmable gate array) heterogeneous platform. The method comprises: allowing a host to finish initialization, and transmitting generated random number data to a DDR (double data rate) memory of an FPGA terminal through a PCI-e (peripheral component interconnect express) interface, wherein the initialization includes constructing a probability space and generating random numbers; allowing the FPGA terminal to read the random number data in the DDR memory, and using a constructed Markov chain to perform concurrent pipeline operation on the random number data, and acquiring and transmitting corresponding result data to the host. The random number data in the DDR memory are read via the FPGA terminal, and the constructed Markov chain is used to perform concurrent pipeline operation on the random number data; it is possible to use the constructed Markov chain in an FPGA board to finish a core computing process of the Markov Monte Carlo method in a concurrent and pipeline manner, the cost is reduced, and concurrency efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to a Markov Monte Carlo algorithm acceleration method and system based on an FPGA heterogeneous platform. Background technique [0002] With the development of computing technology, there are more and more application scenarios of Monte Carlo algorithm, such as molecular dynamics, quantum computing, computational chemistry, etc. There are many ways to implement Monte Carlo algorithm, among which the method based on importance sampling (Metropolis sampling) Markov Chain Monte Carlo (MCMC) is the most widely used method. The basic theory of MCMC is the Markov process. The integral function is as similar as possible. In order to sample on this distribution, it is necessary to start from any state, continuously perform state transitions, and finally converge to a stable distribution. After stabilization, weighted average can be done. As the complexity of computing scenar...

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/38
CPCG06F9/3867
Inventor 张新陈继承王洪伟
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products