OpenCL TensorFlow implementation method and device, electronic equipment and storage medium
The invention provides an implementation method and device of OpenCL TensorFlow, electronic equipment and a storage medium. The method comprises the following steps of: realizing OpenCL Device support of a TensorFlow equipment layer on the basis of an OpenCL programming standard; according to a calc...
Saved in:
Main Authors | , , , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
01.11.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides an implementation method and device of OpenCL TensorFlow, electronic equipment and a storage medium. The method comprises the following steps of: realizing OpenCL Device support of a TensorFlow equipment layer on the basis of an OpenCL programming standard; according to a calculation function of a preset kernel in TensorFlow, an OpenCL kernel and an OpenCL operator corresponding to the calculation function are realized based on an OpenCL programming standard; the method comprises the following steps of: realizing an OpenCLEleft-will operator library on the basis of an OpenCL (Open Computing Language) programming standard; carrying out OpenCL standard adaptation on a calculation acceleration library required by the task; an API interface of the first OpenCL calculation acceleration library is used for achieving integrated calling; according to the method, the support of the StreamExecutor on the OpenCL is realized, and the integrated calling of the second OpenCL calculation acceleration |
---|---|
Bibliography: | Application Number: CN202210700376 |