-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2a6dbc
commit 9d7618a
Showing
9 changed files
with
526 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 362ee32a01dbc1b03acf48a56773ac9c | ||
config: 39562050a8fcb6efff1d6b1315061741 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
96 changes: 96 additions & 0 deletions
96
pull/1414/_sources/autoapi/numba_dpex/core/parfors/parfor_pass/index.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
|
||
:orphan: | ||
|
||
numba_dpex.core.parfors.parfor_pass | ||
=================================== | ||
|
||
.. py:module:: numba_dpex.core.parfors.parfor_pass | ||
.. autoapi-nested-parse:: | ||
|
||
This module follows the logic of numba/parfors/parfor.py with changes required | ||
to use it with dpnp instead of numpy. | ||
|
||
|
||
|
||
Overview | ||
-------- | ||
|
||
.. list-table:: Classes | ||
:header-rows: 0 | ||
:widths: auto | ||
:class: summarytable | ||
|
||
* - :py:obj:`ConvertDPNPPass <numba_dpex.core.parfors.parfor_pass.ConvertDPNPPass>` | ||
- Convert supported Dpnp functions, as well as arrayexpr nodes, to | ||
* - :py:obj:`ParforPass <numba_dpex.core.parfors.parfor_pass.ParforPass>` | ||
- Based on the NumpyParforPass. Lot's of code was copy-pasted, with minor | ||
|
||
|
||
.. list-table:: Function | ||
:header-rows: 0 | ||
:widths: auto | ||
:class: summarytable | ||
|
||
* - :py:obj:`get_dpnp_ufunc_typ <numba_dpex.core.parfors.parfor_pass.get_dpnp_ufunc_typ>`\ (func) | ||
- get type of the incoming function from builtin registry | ||
|
||
|
||
|
||
Classes | ||
------- | ||
|
||
.. py:class:: ConvertDPNPPass(pass_states) | ||
Bases: :py:obj:`numba.parfors.parfor.ConvertNumpyPass` | ||
|
||
Convert supported Dpnp functions, as well as arrayexpr nodes, to | ||
parfor nodes. | ||
|
||
Based on the ConvertNumpyPass. Lot's of code was copy-pasted, with minor | ||
changes due to lack of extensibility of the original package. | ||
|
||
|
||
|
||
|
||
.. py:class:: ParforPass | ||
Bases: :py:obj:`numba.core.typed_passes.ParforPass` | ||
|
||
Based on the NumpyParforPass. Lot's of code was copy-pasted, with minor | ||
changes due to lack of extensibility of the original package. | ||
|
||
|
||
.. rubric:: Overview | ||
|
||
|
||
.. list-table:: Methods | ||
:header-rows: 0 | ||
:widths: auto | ||
:class: summarytable | ||
|
||
* - :py:obj:`run_pass <numba_dpex.core.parfors.parfor_pass.ParforPass.run_pass>`\ (state) | ||
- Convert data-parallel computations into Parfor nodes. | ||
|
||
|
||
.. rubric:: Members | ||
|
||
.. py:method:: run_pass(state) | ||
Convert data-parallel computations into Parfor nodes. | ||
|
||
Exactly same as the original one, but with mock to _ParforPass. | ||
|
||
|
||
|
||
|
||
Functions | ||
--------- | ||
.. py:function:: get_dpnp_ufunc_typ(func) | ||
get type of the incoming function from builtin registry | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
399 changes: 399 additions & 0 deletions
399
pull/1414/autoapi/numba_dpex/core/parfors/parfor_pass/index.html
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.