Method for accelerating operator by calling GPU (Graphics Processing Unit) through OCaml functional language
A technology of language calling and function calling, which is applied in computing, electrical digital data processing, resource allocation, etc., can solve the problem of slow computing speed of operators, and achieve the effect of improving computing speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0029] The present invention will be described in detail below in conjunction with the accompanying drawings and specific examples.
[0030] Such as figure 1 As shown, the present invention is a kind of OCaml functional language call GPU to carry out the method for operator acceleration, is divided into three steps: write required operator with CUDA code and generate the dynamic link library (*.so that can be called by C language file); use the C function that can be called by OCaml to call the CUDA kernel function in the CUDA dynamic link library, and generate the C dynamic link library (*.so file) that can be called by the OCaml functional language from the C file that contains this C function ; OCaml calls the C function that has called the CUDA kernel function, and links with the C dynamic link library (*.so file) and other required libraries to realize the call of OCaml to the GPU.
[0031] A kind of OCaml functional language of the present invention calls GPU to carry o...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com