CN105511996A - Verification platform for programmable stainer embedded in graphic processing unit - Google Patents

Verification platform for programmable stainer embedded in graphic processing unit Download PDF

Info

Publication number
CN105511996A
CN105511996A CN201510929604.9A CN201510929604A CN105511996A CN 105511996 A CN105511996 A CN 105511996A CN 201510929604 A CN201510929604 A CN 201510929604A CN 105511996 A CN105511996 A CN 105511996A
Authority
CN
China
Prior art keywords
stainer
programme
unit
embedded
graphic process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510929604.9A
Other languages
Chinese (zh)
Other versions
CN105511996B (en
Inventor
刘晖
田泽
马城城
张骏
黎小玉
张琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Aeronautics Computing Technique Research Institute of AVIC
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Aeronautics Computing Technique Research Institute of AVIC filed Critical Xian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN201510929604.9A priority Critical patent/CN105511996B/en
Publication of CN105511996A publication Critical patent/CN105511996A/en
Application granted granted Critical
Publication of CN105511996B publication Critical patent/CN105511996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a verification platform for a programmable stainer embedded in a graphic processing unit. The verification platform realizes comprehensive testing on the programmable stainer embedded in the graphic processing unit and covers verifications of software development environments of the programmable stainer, communication with hosts, graphic processing, general operation processing and the like. Starting from the programmable stainer system composition, multiple external testing modules are arranged to form a testing platform, test cases and order verification are planned reasonably, the verification platform is well arranged, and quick and comprehensive verification of the programmable stainer embedded in the graphic processing unit is realized. The correctness of functions and properties of software development environments of the programmable stainer embedded in the graphic processing unit, communication with the hosts, graphic processing, general operation processing and the like can be effectively verified.

Description

The embedded stainer verification platform able to programme of a kind of graphic process unit
Technical field
The invention belongs to computer application field, relate to the embedded stainer verification platform able to programme of a kind of graphic process unit.
Background technology
Stainer able to programme is as the core of high performance graphics processor and key, and its correctness directly determines the success or failure that graphic process unit is developed, therefore very important to the checking of stainer able to programme, but its content is many, testing complex.Tall and handsomely abroad to reach, test platform that the company such as AMD all safeguards oneself, but non-external disclosure.In open source information, major part performs the test of particular task function, performance for stainer able to programme, can not comprehensively, the effectively embedded stainer running environment able to programme of verification pattern processor, function, performance.
Summary of the invention
The invention provides the embedded stainer verification platform able to programme of a kind of graphic process unit, realize the full test of the embedded stainer able to programme of graphic process unit, cover stainer software development environment able to programme and communicating before main frame, the checking such as graphics process and general-purpose operation process.
Concrete technical solution of the present invention is as follows:
The embedded stainer verification method able to programme of this graphic process unit comprises the following steps:
1] stainer basic resources able to programme is verified
Described basic resources comprises computational resource, storage resources, interface, software development environment resource etc.;
2] communication control function between stainer able to programme and main frame is verified
Verify whether stainer able to programme can receive control information or the data of main frame;
3] verify that stainer able to programme performs host task
Verify whether stainer able to programme can perform after the control information receiving main frame or data; Host task comprises graphics processing tasks and/or general computational tasks.
The embedded stainer verification platform able to programme of graphic process unit of application said method comprises hosted environment unit, the graphic process unit of embedded stainer able to programme, display device, stainer software development environment unit able to programme, test and excitation injection unit, test result detecting unit; The output terminal of described test and excitation injection unit is connected with the input end of stainer software development environment unit able to programme and hosted environment unit respectively, hosted environment unit intercoms mutually with the graphic process unit of embedded stainer able to programme, the output terminal of stainer software development environment unit able to programme is connected with the input end of the graphic process unit of embedded stainer able to programme, and the output terminal of the graphic process unit of embedded stainer able to programme is connected with display unit input end; Described hosted environment unit, the graphic process unit of embedded stainer able to programme are also all connected with test result detecting unit with the output terminal of display device.
The invention has the advantages that:
The present invention, from stainer system composition able to programme, sets up test platform, test case of making rational planning for, sequence verification by arranging outside multiple test module, well arranged, realize the embedded stainer able to programme of graphic process unit quick, verify comprehensively.The correctness of the embedded stainer software development environment able to programme of effective verification pattern processor and communicating before main frame, the function such as graphics process and general operation process, performance can be realized.
Accompanying drawing explanation
Fig. 1 is that the present invention specifically implements schematic diagram.
Embodiment
Below in conjunction with embodiment, the present invention is described in further details:
The embedded stainer verification method able to programme of this graphic process unit comprises the following steps:
1] stainer basic resources able to programme is verified
Described basic resources comprises computational resource, storage resources, interface, software development environment resource etc.;
2] communication control function between stainer able to programme and main frame is verified
Verify whether stainer able to programme can receive control information or the data of main frame;
3] verify that stainer able to programme performs host task
Verify whether stainer able to programme can perform after the control information receiving main frame or data; Host task comprises graphics processing tasks and/or general computational tasks.
The embedded stainer verification platform able to programme of graphic process unit of application said method comprises hosted environment unit, the graphic process unit of embedded stainer able to programme, display device, stainer software development environment unit able to programme, test and excitation injection unit, test result detecting unit; The output terminal of described test and excitation injection unit is connected with the input end of stainer software development environment unit able to programme and hosted environment unit respectively, hosted environment unit intercoms mutually with the graphic process unit of embedded stainer able to programme, the output terminal of stainer software development environment unit able to programme is connected with the input end of the graphic process unit of embedded stainer able to programme, and the output terminal of the graphic process unit of embedded stainer able to programme is connected with display unit input end; Described hosted environment unit, the graphic process unit of embedded stainer able to programme are also all connected with test result detecting unit with the output terminal of display device.
Hosted environment unit is used for for the operation of test and excitation provides the host resource of standard to control to support and the support of graphic process unit resources control; Specifically, embedded for graphic process unit stainer program able to programme, main frame can be run high-level language programs conversion, be optimized to and can perform data by hosted environment unit; Data can be performed and comprise main frame working procedure, data, the embedded stainer working procedure able to programme of graphic process unit, data; The embedded stainer working procedure able to programme of graphic process unit, data are run by main frame and produce, and export to stainer able to programme operation.
The graphic process unit of the embedded stainer able to programme of graphic process unit is the hardware platform of the embedded stainer checking able to programme of graphic process unit; Specifically, the embedded stainer able to programme of graphic process unit receive from hosted environment unit or stainer software development environment unit able to programme provide can service data, perform, operation result is exportable at display device or test result detecting unit, the correctness of detection validation result.
Display device provides the output display of execution result for platform, makes the judgement of the result convenient and swift;
Stainer software development environment unit able to programme provides the environment such as editor, compiling, link for the exploitation of stainer software able to programme; Specifically, stainer software development environment unit able to programme is used for stainer program able to programme to transform, being optimized for stainer able to programme can service data, and can provide can the loading service of service data.
Test and excitation injection unit provides information such as input, triggering etc. needed for test, test and excitation comprises stainer software environment test and excitation able to programme, stainer instruction set able to programme and surrounding resources access control excitation, graphical application checking excitation etc., test and excitation carries out in order.
Whether test result detecting unit is correct for verifying the result of the embedded stainer able to programme of hosted environment unit, graphic process unit and display device output, and judges the correctness of whole test run result.
The checking that display device, test and excitation injection unit and test result are detected as the embedded stainer able to programme of graphic process unit provides test input and the result to export; The result that display device display performs, test and excitation injection module plans the motivational content that will test, and test result detects the final result exported.

Claims (2)

1. the embedded stainer verification method able to programme of graphic process unit, is characterized in that: comprise the following steps:
1] stainer basic resources able to programme is verified
Described basic resources comprises computational resource, storage resources, interface, software development environment resource etc.;
2] communication control function between stainer able to programme and main frame is verified
Verify whether stainer able to programme can receive control information or the data of main frame;
3] verify that stainer able to programme performs host task
Verify whether stainer able to programme can perform after the control information receiving main frame or data; Host task comprises graphics processing tasks and/or general computational tasks.
2. the embedded stainer verification platform able to programme of graphic process unit, is characterized in that: comprise hosted environment unit, the graphic process unit of embedded stainer able to programme, display device, stainer software development environment unit able to programme, test and excitation injection unit, test result detecting unit; The output terminal of described test and excitation injection unit is connected with the input end of stainer software development environment unit able to programme and hosted environment unit respectively, hosted environment unit intercoms mutually with the graphic process unit of embedded stainer able to programme, the output terminal of stainer software development environment unit able to programme is connected with the input end of the graphic process unit of embedded stainer able to programme, and the output terminal of the graphic process unit of embedded stainer able to programme is connected with display unit input end; Described hosted environment unit, the graphic process unit of embedded stainer able to programme are also all connected with test result detecting unit with the output terminal of display device.
CN201510929604.9A 2015-12-11 2015-12-11 A kind of embedded programmable stainer verification platform of graphics processor Active CN105511996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510929604.9A CN105511996B (en) 2015-12-11 2015-12-11 A kind of embedded programmable stainer verification platform of graphics processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510929604.9A CN105511996B (en) 2015-12-11 2015-12-11 A kind of embedded programmable stainer verification platform of graphics processor

Publications (2)

Publication Number Publication Date
CN105511996A true CN105511996A (en) 2016-04-20
CN105511996B CN105511996B (en) 2018-08-21

Family

ID=55719998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510929604.9A Active CN105511996B (en) 2015-12-11 2015-12-11 A kind of embedded programmable stainer verification platform of graphics processor

Country Status (1)

Country Link
CN (1) CN105511996B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708518A (en) * 2016-12-12 2017-05-24 中国航空工业集团公司西安航空计算技术研究所 Stainer driver runtime reconfiguration method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100123717A1 (en) * 2008-11-20 2010-05-20 Via Technologies, Inc. Dynamic Scheduling in a Graphics Processor
CN102708537A (en) * 2011-03-03 2012-10-03 Arm有限公司 Graphics processing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100123717A1 (en) * 2008-11-20 2010-05-20 Via Technologies, Inc. Dynamic Scheduling in a Graphics Processor
CN102708537A (en) * 2011-03-03 2012-10-03 Arm有限公司 Graphics processing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹晓阳: "多功能SoC芯片中GPU的功能验证平台设计", <中国优秀硕士学位论文全文数据库> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708518A (en) * 2016-12-12 2017-05-24 中国航空工业集团公司西安航空计算技术研究所 Stainer driver runtime reconfiguration method

Also Published As

Publication number Publication date
CN105511996B (en) 2018-08-21

Similar Documents

Publication Publication Date Title
US11151018B2 (en) Method and apparatus for testing a code file
CN109302522B (en) Test method, test device, computer system, and computer medium
US9946628B2 (en) Embedding and executing trace functions in code to gather trace data
CN106156186B (en) Data model management device, server and data processing method
CN103425574B (en) A kind of method and device of test application program
US20130117855A1 (en) Apparatus for automatically inspecting security of applications and method thereof
CN104407980A (en) Mobile application automated testing device and method
US10042744B2 (en) Adopting an existing automation script to a new framework
CN103793326A (en) Assembly test method and device
CN102968371B (en) The method of test JAVA API unit component and device
CN109871312B (en) Interface testing method, device, equipment and readable storage medium
CN110135168B (en) Application program detection method, device and system, terminal equipment and storage medium
CN107404418B (en) Internet product testing method, device, equipment and storage medium
CN104156224A (en) Continuous integration method and system for software construction
CN103885873A (en) Automated integration testing method
CN103186463B (en) Determine the method and system of the test specification of software
CN113268684A (en) Data processing method, device, terminal equipment and storage medium
CN111338925A (en) Applet test method, device and system, electronic equipment and storage medium
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN111367802B (en) Web automatic test method, device and computer readable storage medium
CN113535567B (en) Software testing method, device, equipment and medium
CN106557411B (en) Method and system for testing Hybrid application in Android system
CN105511996A (en) Verification platform for programmable stainer embedded in graphic processing unit
CN104424098A (en) Application test method and application testing device
CN112861138A (en) Software security analysis method and analysis device, electronic device, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant