-
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 #1331 from IntelPython/experimental/local_accessors
A sycl::local_accessor-like API for numba-dpex kernel 68b1f39
- Loading branch information
1 parent
74b6d8b
commit a737f89
Showing
13 changed files
with
532 additions
and
12 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: 1bf4aa731798b280d7dd0d017aa0e089 | ||
config: b1de6db79b513c9a81d857328961eb39 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
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
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
46 changes: 46 additions & 0 deletions
46
dev/_sources/autoapi/numba_dpex/kernel_api/local_accessor/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,46 @@ | ||
|
||
:orphan: | ||
|
||
numba_dpex.kernel_api.local_accessor | ||
==================================== | ||
|
||
.. py:module:: numba_dpex.kernel_api.local_accessor | ||
.. autoapi-nested-parse:: | ||
|
||
Implements a Python analogue to SYCL's local_accessor class. The class is | ||
intended to be used in pure Python code when prototyping a kernel function | ||
and to be passed to an actual kernel function for local memory allocation. | ||
|
||
|
||
|
||
Overview | ||
-------- | ||
|
||
.. list-table:: Classes | ||
:header-rows: 0 | ||
:widths: auto | ||
:class: summarytable | ||
|
||
* - :py:obj:`LocalAccessor <numba_dpex.kernel_api.local_accessor.LocalAccessor>` | ||
- The ``LocalAccessor`` class is analogous to SYCL's ``local_accessor`` | ||
|
||
|
||
|
||
|
||
Classes | ||
------- | ||
|
||
.. py:class:: LocalAccessor(shape, dtype) | ||
The ``LocalAccessor`` class is analogous to SYCL's ``local_accessor`` | ||
class. The class acts a s proxy to allocating device local memory and | ||
accessing that memory from within a :func:`numba_dpex.kernel` decorated | ||
function. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
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
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.