Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release0.21 #1077

Merged
merged 14 commits into from
Jun 17, 2023
Merged

Release0.21 #1077

merged 14 commits into from
Jun 17, 2023

Conversation

diptorupd
Copy link
Contributor

Merge release 0.21 changes into gold/2021

xaleryb and others added 14 commits June 16, 2023 16:13
Update getting_started.rst to replace all software.intel.com to corre…
Updated changelog for release 0.21
   - Previously, any dpnp.ndarray objects used as an argument in a
     parfor was a numba_dpex.core.types.DpnpNdArray. The commit changes
     that and casts all dpnp.ndarray arguments of a parfor to
     numba_dpex.core.types.USMNdArray.

     The reason for the change is as follows:

     Although, DpnpNdArray derives from USMNdArray the two types use
     different data models. USMNdArray uses the
     numba_dpex.core.datamodel.models.ArrayModel data model that defines all
     CPointer type members in the GLOBAL address space. The DpnpNdArray uses
     Numba's default ArrayModel that does not define pointers in any specific
     address space. For OpenCL HD Graphics devices, defining a kernel
     function (spir_kernel calling convention) with pointer arguments that
     have no address space qualifier causes a run time crash. By casting
     the argument type for parfor arguments from DpnpNdArray type to the
     USMNdArray type the generated kernel always has an address space
     qualifier, avoiding the issue on OpenCL HD graphics devices.
@diptorupd diptorupd requested a review from mingjie-intel as a code owner June 17, 2023 07:21
@diptorupd diptorupd merged commit c37e360 into gold/2021 Jun 17, 2023
@github-actions
Copy link
Contributor

Documentation preview removed.

github-actions bot pushed a commit that referenced this pull request Jun 17, 2023
@github-actions
Copy link
Contributor

Documentation preview: show.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants