Navigation Menu

Skip to content

Commit

Permalink
Full names include oneAPI, add spellchecker (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
rscohn2 committed Mar 23, 2020
1 parent 5fdd8cf commit 4e659a8
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -21,3 +21,8 @@ jobs:
with:
name: oneapi-spec-artifacts
path: site.zip
- name: Archive spellcheck
uses: actions/upload-artifact@v1
with:
name: spell check
path: build/spelling/output.txt
1 change: 1 addition & 0 deletions requirements.txt
Expand Up @@ -11,4 +11,5 @@ sphinx-rtd-theme
sphinx-prompt
sphinx_substitution_extensions
sphinx_tabs
sphinxcontrib-spelling
graphviz
1 change: 1 addition & 0 deletions scripts/install.sh
Expand Up @@ -46,6 +46,7 @@ make install
set -e
popd
apt-get install -y \
enchant \
graphviz \
latexmk \
texlive-latex-base \
Expand Down
4 changes: 3 additions & 1 deletion scripts/oneapi.py
Expand Up @@ -332,6 +332,7 @@ def ci(root, target=None):
root_only(root)
get_tarballs(root)
site(root)
build('.', 'spelling')
if args.branch == 'publish' or args.branch == 'refs/heads/publish':
stage_publish(root)
else:
Expand All @@ -348,6 +349,7 @@ def ci(root, target=None):
'dockerrun': dockerrun,
'html': build,
'latexpdf': build,
'spelling': build,
'prep': prep,
'prod-publish': prod_publish,
'purge': purge,
Expand All @@ -370,7 +372,7 @@ def ci(root, target=None):
def main():
global args
parser = argparse.ArgumentParser(description='Build oneapi spec.')
parser.add_argument('action',choices=commands.keys())
parser.add_argument('action',choices=commands.keys(), default='html', nargs='?')
parser.add_argument('root', nargs='?', default='.')
parser.add_argument('--branch')
parser.add_argument('--dry-run', action='store_true')
Expand Down
18 changes: 9 additions & 9 deletions source/conf/common_conf.py
Expand Up @@ -2,30 +2,30 @@
'notfound.extension',
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
# 'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
'sphinx.ext.githubpages',
'sphinx.ext.graphviz',
'sphinxcontrib.spelling',
'sphinx_substitution_extensions',
'breathe',
]

rst_prolog = """
.. |ccl_full_name| replace:: Collective Communications Library
.. |dal_full_name| replace:: Data Analytics Library
.. |ccl_full_name| replace:: oneAPI Collective Communications Library
.. |dal_full_name| replace:: oneAPI Data Analytics Library
.. |dal_short_name| replace:: oneDAL
.. |dal_namespace| replace:: daal
.. |dnn_full_name| replace:: Deep Neural Network Library
.. |dpl_full_name| replace:: DPC++ Library
.. |dnn_full_name| replace:: oneAPI Deep Neural Network Library
.. |dpl_full_name| replace:: oneAPI DPC++ Library
.. |dpcpp_full_name| replace:: DPC++
.. |l0_full_name| replace:: Level Zero
.. |mkl_full_name| replace:: Math Kernel Library
.. |tbb_full_name| replace:: Threading Building Blocks
.. |vpl_full_name| replace:: Video Processing Library
.. |l0_full_name| replace:: oneAPI Level Zero
.. |mkl_full_name| replace:: oneAPI Math Kernel Library
.. |tbb_full_name| replace:: oneAPI Threading Building Blocks
.. |vpl_full_name| replace:: oneAPI Video Processing Library
"""

# for substitutions in code blocks and sphinx-prompts:
Expand Down
@@ -1,7 +1,7 @@
oneCCL Collective Communication
===============================

Thi section covers collective communcation operations implemented in |ccl_full_name|.
This section covers collective communication operations implemented in |ccl_full_name|.

.. toctree::
:maxdepth: 1
Expand Down
2 changes: 1 addition & 1 deletion source/elements/oneVPL/source/VPL_workstreams.rst
Expand Up @@ -11,7 +11,7 @@ There are four subclasses of :class:`vpl::Workstream` that perform the following
- :class:`vpl::Encode`: encode raw frames to a bitstream

In the :class:`vpl::VideoProcess` subclass, a sequence of filters with single input and single output running on the same device context can be fused to the same workstream.
Operations executing on different device contexts are seperated to different worksteams such that each workstream can be dispatched to a single device context.
Operations executing on different device contexts are separated to different worksteams such that each workstream can be dispatched to a single device context.

Workstream Internals
--------------------
Expand Down
2 changes: 1 addition & 1 deletion source/elements/oneVPL/source/index.rst
Expand Up @@ -66,7 +66,7 @@ Encode
------
.. include:: VPL_encode.rst

Vidoe Processing
Video Processing
----------------
.. include:: VPL_processframe.rst

Expand Down
Empty file added source/spelling_wordlist.txt
Empty file.

0 comments on commit 4e659a8

Please sign in to comment.