Compiling method, compiling device, electronic equipment, storage medium and program product

A compilation method and subset technology, applied in the field of source file compilation and deep learning, can solve the problems of large compilation times, high CUDA time-consuming, affecting R&D efficiency, etc., so as to improve compilation efficiency, reduce compilation time, and reduce compilation. effect of times

Active Publication Date: 2021-06-25
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the complex compilation process of CUDA, CUDA compilation in large-scale projects is often time-consuming, which affects R&D efficiency
[0004] However, traditional techniques for compiling source files either need to be compiled separately for each source file, or can only merge parts of the source files and compile them very roughly, and basically cannot handle CUDA source files
Therefore, the number of compilations required for projects using CUDA source files is large, and cannot be applied to large projects with many source files

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
  • Compiling method, compiling device, electronic equipment, storage medium and program product
  • Compiling method, compiling device, electronic equipment, storage medium and program product
  • Compiling method, compiling device, electronic equipment, storage medium and program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0021] As used herein, the term "comprise" and its variants mean open inclusion, ie "including but not limited to". The term "or" means "and / or" unless otherwise stated. The term "based on" means "based at least in part on". The terms "one example embodiment" and "one embodiment" mean "at least one example embodiment." The term "another embodiment" means "at least one further embodiment". The terms "first", "second", etc. may refer to di...

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 provides a compiling method, a compiling device, electronic equipment, a storage medium and a program product, which can be used in the fields of source file compiling, deep learning and the like. The method comprises the following steps: acquiring a source file set, wherein the source file set comprises at least one type of source file; obtaining a directory set of an object set associated with the source file set; for a first directory in the directory set, combining source files associated with a first object set into a first source file subset on the basis that the first directory comprises the first object set associated with the source files of the first type; compiling the first source file subset as a whole. By utilizing the method, the compiling efficiency can be effectively improved and the compiling time consumption can be effectively reduced by reducing the number of times of compiling the source file, so that the user experience can be improved.

Description

technical field [0001] The present disclosure relates to computer technology, and more specifically, to a compilation method, a compilation device, an electronic device, a computer-readable storage medium, and a computer program product, which can be used in the fields of source file compilation and deep learning. Background technique [0002] Deep learning is a key technology in the field of artificial intelligence, and developers usually carry out related work based on the deep learning framework. The basis of deep learning is artificial neural network, and the core of artificial neural network is matrix operation, so the core of a deep learning framework is matrix operation. The deep learning system is a computing-intensive system, which often involves a large number of highly complex matrix calculations. The smooth operation of the system often requires high processing speed. The central processing unit cannot even meet the needs of matrix calculations. To achieve fast ...

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): G06F8/41G06N20/00
CPCG06F8/41G06N20/00
Inventor 武桓州王欢周威骆涛蓝翔
Owner BEIJING BAIDU NETCOM SCI & 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