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

User-transparent operation core parallel printing order-preserving agent method

A computing core and transparent technology, applied in the field of heterogeneous many cores, can solve problems such as limited scope of application and complex processing, and achieve the effects of wide applicability, guaranteed debugging and operation, and good readability

Active Publication Date: 2021-03-12
JIANGNAN INST OF COMPUTING TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This I / O proxy technology has the following deficiencies: (1) This I / O proxy technology must require a parallel compiler to process parallel programs from source to source. Complicated analysis and program transformation are required to solve the problems of this language, and its scope of application is not wide; (2) This processing method is based on static program transformation, so it is necessary to carry out secondary identification for each I / O statement to distinguish the real Proxy statements, handling complex

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
  • User-transparent operation core parallel printing order-preserving agent method
  • User-transparent operation core parallel printing order-preserving agent method
  • User-transparent operation core parallel printing order-preserving agent method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0028] Example: such as figure 2 As shown, a user-transparent computing core parallel printing order-preserving agent method includes the following steps,

[0029] S1. The compiler extends and replaces the print output statement on the computing core, and transforms the print output statement into a thread print processing function in the runtime system;

[0030] S2. During runtime, the system performs data transfer according to the parameters of the thread print processing function of S1 and interrupts the control core to send a proxy request. The specific steps are as follows:

[0031] S21. The thread print processing function in the runtime system performs parameter analysis, applies for a data dump buffer, and performs data dump according to the parameter type;

[0032] S22. The calculation core sends a signal to interrupt the control core, requests the control core to perform printing as an order-keeping agent, and simultaneously transmits the first address of the appli...

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 user-transparent operation core parallel printing order-preserving agent method, and the method comprises the following steps: expanding and replacing printing output statements on an operation core, and converting the printing output statements into a thread printing processing function in a calling runtime system; performing parameter analysis on the thread printing processing function, applying for a data transfer buffer area, and performing data transfer according to the parameter type; enabling the operation core to request the control core to carry out printingorder-preserving agent, and transmitting the head address of the applied data transfer buffer area to the control core; enabling the control core to receive the interrupt signal, transferring the signal to interrupt processing, executing an embedded assembly instruction to fill printing function parameters according to the parameter type of the data transfer buffer, and calling a printf agent to realize printing output of the operation core. According to the invention, the compiler and the runtime are combined to automatically complete parallel and ordered output of all operation cores; the method is transparent to a user and does not need to additionally manage the printout of the operation core; and only a basic compiler of the operation core is required to perform simple program transformation on an operation core program.

Description

technical field [0001] The invention belongs to the technical field of heterogeneous many-cores, and in particular relates to a user-transparent computing core parallel printing order-preserving agent method. Background technique [0002] The computing cores of heterogeneous many-cores do not support operating systems in the usual sense. There is only a simple management library, and the support for user program printing functions is limited. When multiple computing cores call the printing function at the same time, the multiple computing cores The screen output will be interlaced, and useful information cannot be identified, which will affect the debugging and operation control of the program. figure 1 As shown in , it is a schematic representation of the printed information of the eight computing cores. It can be seen that the printed information is intertwined and chaotic, and useful information cannot be effectively identified. The inability of multiple computing cores ...

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
IPC IPC(8): G06F3/12
CPCG06F3/124G06F3/1281G06F3/1295G06F3/1298
Inventor 文延华杨小川李雁冰方燕飞董恩铭尉红梅
Owner JIANGNAN INST OF COMPUTING TECH
Features
  • Generate Ideas
  • 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