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

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

Active Publication Date: 2022-04-15
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 device, storage medium and program product
  • Compiling method, compiling device, electronic device, storage medium and program product
  • Compiling method, compiling device, electronic device, 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 disclosure provides a compiling method, a compiling device, an electronic device, a storage medium and a program product, which can be used in the fields of source file compilation and deep learning. The method includes: obtaining a source file collection, the source file collection includes at least one type of source file; obtaining a directory collection of an object collection associated with the source file collection; for the first directory in the directory collection, based on the first directory includes the same A first set of objects associated with the first type of source files, combining the source files associated with the first set of objects into a first subset of source files; and compiling the first subset of source files as a whole. By using the above method, the compilation efficiency can be effectively improved and the compilation time can be reduced by reducing the number of compilations for the source files, thereby improving user experience.

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 Patents(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