-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1290 from IntelPython/feature/use_dpnp_specific_p…
…arfor Feature/use dpnp specific parfor b6a13b0
- Loading branch information
1 parent
b281cbf
commit f2a6dbc
Showing
7 changed files
with
524 additions
and
6 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: 5ce5e8be9715c4f3cb77525aad77bc3a | ||
config: 77c7ed92725ec04ee213bdd81322e999 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
96 changes: 96 additions & 0 deletions
96
dev/_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 | ||
|
||
|
||
|
||
|
||
|
399 changes: 399 additions & 0 deletions
399
dev/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.