Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
e8471c4c
Commit
e8471c4c
authored
Jun 27, 2019
by
Leona C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cherrypick more doc from PR 3104 to avoid jam
parent
058b4fbf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
0 deletions
+62
-0
index.rst
doc/sphinx/source/backends/backend-api/index.rst
+62
-0
No files found.
doc/sphinx/source/backends/backend-api/index.rst
View file @
e8471c4c
...
...
@@ -4,7 +4,68 @@
Backend
=======
:ref:`more_resources`
.. doxygenclass:: ngraph::runtime::Backend
:project: ngraph
:members:
.. _more_resources:
Additional resources
====================
OpenCL
------
#. Install the latest Linux driver for your system from
https://software.intel.com/en-us/articles/opencl-drivers;
You may need to install `OpenCL SDK`_ in case of an
libOpenCL.so absence.
#. Any user added to "video" group:
.. code-block:: console
sudo usermod –a –G video <user_id>
may, for example, be able to find details at the
``/sys/module/[system]/parameters/`` location.
nGraph Bridge
~~~~~~~~~~~~~
When specified as the generic backend -- either
manually or automatically from a framework --
``NGRAPH`` defaults to CPU, and it also allows
for additional device configuration or selection.
Because nGraph can select backends, you may try
specifying the ``INTELGPU`` backend as a runtime
environment variable:
:envvar:`NGRAPH_TF_BACKEND="INTELGPU"`
An `axpy.py example`_ is optionally available to test;
outputs will vary depending on the parameters
specified.
.. code-block:: console
NGRAPH_TF_BACKEND="INTELGPU" python3 axpy.py
* ``NGRAPH_INTELGPU_DUMP_FUNCTION`` -- dumps
nGraph’s functions in dot format.
* `` `` --.
* `` `` --.
* `` `` --.
.. _axpy.py example: https://github.com/tensorflow/ngraph-bridge/blob/master/examples/axpy.py
.. _OpenCL SDK: https://software.intel.com/en-us/opencl-sdk
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment