Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit 34b1a80

Browse files
authored
Fix registered mark symbol (#281)
1 parent ac11b05 commit 34b1a80

14 files changed

Lines changed: 61 additions & 61 deletions

docs/Documentation_Guidelines.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
This file provides guidelines for developers on how to update the documentation. The content of the file will be added to the developers' document later. If you have any questions about this file or Intel(R) SDC documentation please contact Rujal Desai.
1+
This file provides guidelines for developers on how to update the documentation. The content of the file will be added to the developers' document later. If you have any questions about this file or Intel® SDC documentation please contact Rujal Desai.
22
How to update the documentation
33

4-
Intel(R) SDC documentation is built using Sphinx. Building the documentation is not part of Intel(R) SDC build as of now(that may change later). So you have to follow few extra steps to build new documentation.
4+
Intel® SDC documentation is built using Sphinx. Building the documentation is not part of Intel® SDC build as of now(that may change later). So you have to follow few extra steps to build new documentation.
55

66
Sphinx uses RST files to generate html/pdf output. Therefore the new documentation should either be in RST file or standardized docstring(provided with the function/class definition inside source code).
77

88
There are two ways to contribute to the documentation:
9-
1. Add documentation for a Pandas API overloaded in Intel(R) SDC
9+
1. Add documentation for a Pandas API overloaded in Intel® SDC
1010
2. Add/Change content of one of the section of the existing documentation
1111

1212
Pandas API Documentation
1313

14-
If you have implemented a Pandas function/operator in Intel(R) SDC follow these steps to add it to the new documentation:
14+
If you have implemented a Pandas function/operator in Intel® SDC follow these steps to add it to the new documentation:
1515

16-
1. Write a docstring inside the function/operator definition and make sure it is in the standardized format that Intel(R) SDC follows
16+
1. Write a docstring inside the function/operator definition and make sure it is in the standardized format that Intel® SDC follows
1717

1818
If you are not aware of the standardized format of docstring refer to pandas.Series.append method in hpat/datatypes/hpat_series_functions.py . Also, make sure the function definition has all the arguments included in it even though HPAt doesn't support that argument. For example, Pandas Series.ne(not equal) method has the following signature:
1919

2020
Series.ne(self, other, level=None, fill_value=None, axis=0)
2121

22-
Intel(R) SDC doesn't support 'level' , 'fill_value' and 'axis' but the function definition in Intel(R) SDC should looik like this:
22+
Intel® SDC doesn't support 'level' , 'fill_value' and 'axis' but the function definition in Intel® SDC should looik like this:
2323

2424
new_funcname(self, other, level=None, fill_value=None, axis=0)
2525
where new_funcname : function name given by developer
2626

2727
2. Edit the script rename_function.py
2828

29-
This step is part of a work around. Hence it is specific to Intel(R) SDC. Sphinx uses autodoc to automatically generate documentation from a function docstring. However, if we use that directly the function name displayed in User's Guide for Intel(R) SDC will be the function name that developer has used to overload Pandas API instead of the actual name of that Pandas API that is overloaded. For example,
29+
This step is part of a work around. Hence it is specific to Intel® SDC. Sphinx uses autodoc to automatically generate documentation from a function docstring. However, if we use that directly the function name displayed in User's Guide for Intel® SDC will be the function name that developer has used to overload Pandas API instead of the actual name of that Pandas API that is overloaded. For example,
3030

31-
Pandas.Series.append method is overloaded in Intel(R) SDC by this function definition:
31+
Pandas.Series.append method is overloaded in Intel® SDC by this function definition:
3232

3333
@overload_method(SeriesType, 'append')
3434
def hpat_pandas_series_append(self, to_append, ignore_index=False, verify_integrity=False)

docs/devsource/DevelopersGuide.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Developer's Guide
44
=================
55

6-
Intel(R) SDC implements Pandas and Numpy API as a DSL.
6+
Intel® SDC implements Pandas and Numpy API as a DSL.
77
Data structures are implemented as Numba extensions, and
88
compiler stages are responsible for different levels of abstraction.
99
For example, `Series data type support <https://github.com/IntelLabs/hpat/blob/master/hpat/hiframes/pd_series_ext.py>`_
@@ -12,11 +12,11 @@ implement the `Pandas Series API <https://pandas.pydata.org/pandas-docs/stable/r
1212
Follow the pipeline for a simple function like `Series.sum()`
1313
for initial understanding of the transformations.
1414

15-
Intel(R) SDC Technology Overview
15+
Intel® SDC Technology Overview
1616
------------------------
1717

1818
This `slide deck <https://drive.google.com/open?id=1jLikSEAqOFf8kKO8vgT7ru6dKU1LGiDR>`_
19-
provides an overview of Intel(R) SDC technology and software architecture.
19+
provides an overview of Intel® SDC technology and software architecture.
2020

2121
These papers provide deeper dive in technical ideas (might not be necessary for many developers):
2222

@@ -29,22 +29,22 @@ These papers provide deeper dive in technical ideas (might not be necessary for
2929
Numba
3030
-----
3131

32-
Intel(R) SDC sits on top of Numba and is heavily tied to many of its features.
32+
Intel® SDC sits on top of Numba and is heavily tied to many of its features.
3333
Therefore, understanding Numba's internal details and being able to develop Numba extensions
3434
is necessary.
3535

3636

3737
- Start with `basic overview of Numba use <http://numba.pydata.org/numba-doc/latest/user/5minguide.html>`_ and try the examples.
3838
- `User documentation <http://numba.pydata.org/numba-doc/latest/user/index.html>`_ is generally helpful for overview of features.
3939
- | `ParallelAccelerator documentation <http://numba.pydata.org/numba-doc/latest/user/parallel.html>`_
40-
provides overview of parallel analysis and transformations in Numba (also used in Intel(R) SDC).
40+
provides overview of parallel analysis and transformations in Numba (also used in Intel® SDC).
4141
- `Setting up Numba for development <http://numba.pydata.org/numba-doc/latest/developer/contributing.html>`_
4242
- | `Numba architecture page <http://numba.pydata.org/numba-doc/latest/developer/architecture.html>`_
4343
is a good starting point for understanding the internals.
4444
- | Learning Numba IR is crucial for understanding transformations.
4545
See the `IR classes <https://github.com/numba/numba/blob/master/numba/ir.py>`_.
4646
Setting `NUMBA_DEBUG_ARRAY_OPT=1` shows the IR at different stages
47-
of ParallelAccelerator and Intel(R) SDC transformations. Run `a simple parallel
47+
of ParallelAccelerator and Intel® SDC transformations. Run `a simple parallel
4848
example <http://numba.pydata.org/numba-doc/latest/user/parallel.html#explicit-parallel-loops>`_
4949
and make sure you understad the IR at different stages.
5050
- | `Exending Numba page <http://numba.pydata.org/numba-doc/latest/extending/index.html>`_
@@ -56,15 +56,15 @@ is necessary.
5656
Numba <https://github.com/numba/numba/blob/master/numba/dictobject.py>`_ (documentation planned).
5757
It has examples of calling into C code which is implemented as
5858
`a C extension library <https://github.com/numba/numba/blob/master/numba/_dictobject.c>`_.
59-
For a simpler example of calling into C library, see Intel(R) SDC's I/O features like
59+
For a simpler example of calling into C library, see Intel® SDC's I/O features like
6060
`get_file_size <https://github.com/IntelLabs/hpat/blob/master/hpat/io.py#L12>`_.
6161
- | `Developer reference manual <http://numba.pydata.org/numba-doc/latest/developer/index.html>`_
6262
provides more details if necessary.
6363

6464
How to update the documentation
6565
--------------------------------
6666

67-
The Intel(R) SDC documentation is generated from RST files using Sphinx. If you want to add to the documentation follow these steps:
67+
The Intel® SDC documentation is generated from RST files using Sphinx. If you want to add to the documentation follow these steps:
6868

6969
1. If you don't have sphinx installed then install sphinx in your conda environment::
7070

docs/devsource/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#!/usr/bin/env python3
2929
# -*- coding: utf-8 -*-
3030
#
31-
# Intel(R) SDC documentation build configuration file, created by
31+
# Intel® SDC documentation build configuration file, created by
3232
# sphinx-quickstart on Wed Sep 6 09:29:19 2017.
3333
#
3434
# This file is execfile()d with the current directory set to its
@@ -134,7 +134,7 @@
134134
master_doc = 'index'
135135

136136
# General information about the project.
137-
project = 'Intel(R) SDC'
137+
project = 'Intel® SDC'
138138
#copyright = '2017, Ehsan Totoni'
139139
author = 'Intel'
140140

docs/devsource/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Intel(R) SDC Developer's Guide
1+
Intel® SDC Developer's Guide
22
=======================
33

44
.. toctree::
@@ -10,4 +10,4 @@ Intel(R) SDC Developer's Guide
1010
DevelopersGuide
1111
api
1212

13-
To download Intel(R) SDC documentation PDF click here :download:`pdf <../_builddev/latex/SDC.pdf>`
13+
To download Intel® SDC documentation PDF click here :download:`pdf <../_builddev/latex/SDC.pdf>`

docs/devsource/overview.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
.. _overview:
22

3-
Quick Introduction to Intel(R) SDC
3+
Quick Introduction to Intel® SDC
44
==========================
55

66
.. todo:: Change content here considering Developer's perspective
77

8-
High Performance Analytics Toolkit (Intel(R) SDC) is a big data analytics and machine
8+
High Performance Analytics Toolkit (Intel® SDC) is a big data analytics and machine
99
learning framework that provides Python's ease of use but is extremely fast.
1010

11-
Intel(R) SDC scales analytics programs in python to cluster/cloud environments
11+
Intel® SDC scales analytics programs in python to cluster/cloud environments
1212
automatically, requiring only minimal code changes. Here is a logistic
13-
regression program using Intel(R) SDC::
13+
regression program using Intel® SDC::
1414

1515
@hpat.jit
1616
def logistic_regression(iterations):
@@ -29,9 +29,9 @@ This code runs on cluster and cloud environments using a simple command like::
2929

3030
mpiexec -n 1024 python logistic_regression.py
3131

32-
Intel(R) SDC compiles the source code to efficient native parallel code
32+
Intel® SDC compiles the source code to efficient native parallel code
3333
(with `MPI <https://en.wikipedia.org/wiki/Message_Passing_Interface>`_).
3434
This is in contrast to other frameworks such as Apache Spark which are
35-
master-executor libraries. Hence, Intel(R) SDC is typically 100x or more faster.
36-
Intel(R) SDC is built on top of `Numba <https://github.com/numba/numba>`_
35+
master-executor libraries. Hence, Intel® SDC is typically 100x or more faster.
36+
Intel® SDC is built on top of `Numba <https://github.com/numba/numba>`_
3737
and `LLVM <https://llvm.org/>`_ compilers.

docs/usersource/GettingStarted.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
.. _GettingStarted:
22

3-
Getting Started with Intel(R) SDC
3+
Getting Started with Intel® SDC
44
~~~~~~~~~~~~~~~~~~~~~~~~~
55

6-
Intel(R) SDC is useful to accelerate a subset of `Python <https://docs.python.org/3/>`_ operations working with `Pandas Series <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.html>`_ and `Dataframes <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html>`_ as well as with `Numpy Arrays <https://docs.scipy.org/doc/numpy/reference/generated/numpy.array.html>`_ . Being the just-in-time compiler built on top of `Numba <http://numba.pydata.org/numba-doc/latest/index.html>`_ Intel(R) SDC will compile a subset of Pandas and Numpy codes into the native code. The compilation is controlled by a set of `Numba decorators <http://numba.pydata.org/numba-doc/0.8/modules/decorators.html>`_ and **Intel(R) SDC decorators** that can be applied to a function.
6+
Intel® SDC is useful to accelerate a subset of `Python <https://docs.python.org/3/>`_ operations working with `Pandas Series <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.html>`_ and `Dataframes <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html>`_ as well as with `Numpy Arrays <https://docs.scipy.org/doc/numpy/reference/generated/numpy.array.html>`_ . Being the just-in-time compiler built on top of `Numba <http://numba.pydata.org/numba-doc/latest/index.html>`_ Intel® SDC will compile a subset of Pandas and Numpy codes into the native code. The compilation is controlled by a set of `Numba decorators <http://numba.pydata.org/numba-doc/0.8/modules/decorators.html>`_ and **Intel® SDC decorators** that can be applied to a function.
77

8-
The code below illustrates a typical workflow that Intel(R) SDC is intended to compile
8+
The code below illustrates a typical workflow that Intel® SDC is intended to compile
99

1010
.. todo::
1111
Short code illustrating how hpat can compile read_csv and compute aggregators over columns
1212

1313
We also recommend to read `A ~5 minute guide to Numba <https://numba.pydata.org/numba-doc/dev/user/5minguide.html>`_ .
1414

15-
Installing Intel(R) SDC
15+
Installing Intel® SDC
1616
===============
1717

1818
.. todo::
1919

2020
instructions how to install hpat using 1) conda, 2) pip
2121

22-
Experienced users can also compile Intel(R) SDC from sources<link to github build instructions for hpat>
22+
Experienced users can also compile Intel® SDC from sources<link to github build instructions for hpat>
2323

24-
How to use Intel(R) SDC
24+
How to use Intel® SDC
2525
================
2626

2727
.. todo::
28-
Provide a few code snapshots illustrating typical usages of Intel(R) SDC:
28+
Provide a few code snapshots illustrating typical usages of Intel® SDC:
2929
• Reading a file
3030
• Working with a column - a few basic ops, e.g. aggregation or sorting + UDF
3131
• Working with a dataframe
@@ -54,11 +54,11 @@ What If I Get A Compilation Error
5454
=================================
5555

5656
.. todo::
57-
Need to give basic information that hpat and numba do not support full set of Pandas and Numpy APIs, provide the link to the API Reference section for Intel(R) SDC, relevant reference to Numba documentation.
57+
Need to give basic information that hpat and numba do not support full set of Pandas and Numpy APIs, provide the link to the API Reference section for Intel® SDC, relevant reference to Numba documentation.
5858

59-
Also give very short introduction to what kind of code Numba/Intel(R) SDC can compile and what cannot, i.e. type stability etc. Provide the links to relevant sections in Intel(R) SDC and Numba documentations focusing on compilation issues/limitations
59+
Also give very short introduction to what kind of code Numba/Intel® SDC can compile and what cannot, i.e. type stability etc. Provide the links to relevant sections in Intel® SDC and Numba documentations focusing on compilation issues/limitations
6060

61-
Measuring Intel(R) SDC performance
61+
Measuring Intel® SDC performance
6262
===========================
6363

6464
.. todo::
@@ -69,4 +69,4 @@ What If I Get Poor Performance?
6969

7070
.. todo::
7171
Short introduction why performance may be slower than expected. GIL, Object mode and nopython mode. Overheads related to boxing and unboxing Python objects.
72-
Reference to relevant sections of Intel(R) SDC and Numba documentation for detailed discussion
72+
Reference to relevant sections of Intel® SDC and Numba documentation for detailed discussion

docs/usersource/apireference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
API Reference: Supported Pandas APIs
44
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55

6-
This page gives an overview of all Pandas APIs supported currently by Intel(R) SDC
6+
This page gives an overview of all Pandas APIs supported currently by Intel® SDC
77

88
.. toctree::
99
:maxdepth: 2

0 commit comments

Comments
 (0)