-
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.
Merge pull request #1370 from IntelPython/feature/private_array
Add PrivateArray kernel_api be68c49
- Loading branch information
1 parent
960ee5c
commit fc98a52
Showing
11 changed files
with
844 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: 8ccf7b1325d7387aedad36b4161c0c11 | ||
config: 846715c8288a13b777fdfeb90aa7eb06 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
45 changes: 45 additions & 0 deletions
45
...perimental/_kernel_dpcpp_spirv_overloads/_private_array_overloads/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,45 @@ | ||
|
||
:orphan: | ||
|
||
numba_dpex.experimental._kernel_dpcpp_spirv_overloads._private_array_overloads | ||
============================================================================== | ||
|
||
.. py:module:: numba_dpex.experimental._kernel_dpcpp_spirv_overloads._private_array_overloads | ||
.. autoapi-nested-parse:: | ||
|
||
Implements the SPIR-V overloads for the kernel_api.PrivateArray class. | ||
|
||
|
||
|
||
Overview | ||
-------- | ||
|
||
|
||
.. list-table:: Function | ||
:header-rows: 0 | ||
:widths: auto | ||
:class: summarytable | ||
|
||
* - :py:obj:`ol_private_array_ctor <numba_dpex.experimental._kernel_dpcpp_spirv_overloads._private_array_overloads.ol_private_array_ctor>`\ (shape, dtype) | ||
- Overload of the constructor for the class | ||
|
||
|
||
|
||
|
||
Functions | ||
--------- | ||
.. py:function:: ol_private_array_ctor(shape, dtype) | ||
Overload of the constructor for the class | ||
class:`numba_dpex.kernel_api.PrivateArray`. | ||
|
||
:raises errors.TypingError: If the shape argument is not a shape compatible | ||
type. | ||
:raises errors.TypingError: If the dtype argument is not a dtype compatible | ||
type. | ||
|
||
|
||
|
||
|
||
|
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
44 changes: 44 additions & 0 deletions
44
dev/_sources/autoapi/numba_dpex/kernel_api/private_array/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,44 @@ | ||
|
||
:orphan: | ||
|
||
numba_dpex.kernel_api.private_array | ||
=================================== | ||
|
||
.. py:module:: numba_dpex.kernel_api.private_array | ||
.. autoapi-nested-parse:: | ||
|
||
Implements a simple array intended to be used inside kernel work item. | ||
Implementation is intended to be used in pure Python code when prototyping a | ||
kernel function. | ||
|
||
|
||
|
||
Overview | ||
-------- | ||
|
||
.. list-table:: Classes | ||
:header-rows: 0 | ||
:widths: auto | ||
:class: summarytable | ||
|
||
* - :py:obj:`PrivateArray <numba_dpex.kernel_api.private_array.PrivateArray>` | ||
- The ``PrivateArray`` class is an simple version of array intended to be used | ||
|
||
|
||
|
||
|
||
Classes | ||
------- | ||
|
||
.. py:class:: PrivateArray(shape, dtype) | ||
The ``PrivateArray`` class is an simple version of array intended to be used | ||
inside kernel work item. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
348 changes: 348 additions & 0 deletions
348
...numba_dpex/experimental/_kernel_dpcpp_spirv_overloads/_private_array_overloads/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
Oops, something went wrong.