Supercharge Your Innovation With Domain-Expert AI Agents!

Streamline method realizing P language concurrent programming

A pipeline and language technology, applied in the direction of concurrent instruction execution, program control device, machine execution device, etc., can solve difficult problems such as the busy state of the underlying hardware

Inactive Publication Date: 2016-01-27
张军
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Often, loops contain too few operations relative to the loop's critical path length to keep the underlying hardware busy

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
  • Streamline method realizing P language concurrent programming

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] This pipeline method for implementing concurrent programming in P language includes the following steps:

[0018] 1) Determine the functional unit of the code based on the self-made P programming language framework of concurrent programming;

[0019] 2) Estimate the number of cycles spent in the core;

[0020] 3) The code executes a section of initial code that fills the pipeline;

[0021] 4) The core executes most of the iterations of the loop in an interleaved fashion;

[0022] 5) If the process fails, increase the size of the core by 1 and try again;

[0023] 6) After the loop kernel is completed, execute the corresponding epilogue code to complete the last iteration.

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 streamline method realizing P language concurrent programming; the method comprises the following steps: determining a code function unit according to a concurrent programming self made P programming language framework; estimating period numbers consumed in a core; the code executes an initial code filling the streamline; the core executes most cycling iterations in a staggering mode; if the processing fails, adding 1 on the core and retry; executing corresponding ending code so as to complete the final iteration after cycle core finishes.

Description

technical field [0001] The invention relates to a pipeline method for realizing concurrent programming of P language Background technique [0002] Programming language develops from assembly language, to procedural language, to object language, and to higher-level languages. The higher the degree of abstraction, the lower the operating efficiency will be. The processing of big data, especially the processing of multimedia data, requires more and more calculations, which requires the abstraction of programming languages ​​and higher requirements for the efficiency of programming languages. [0003] Parallel computing refers to the existence of more than one computing task being executed at the same time. Due to the upper limit of the increased processor frequency, the use of multi-core processors for parallel computing has become the mainstream. API (Application Programming Interface) are predefined functions designed to provide applications and developers the ability to ac...

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/44G06F9/38
Inventor 张军
Owner 张军
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More