Skip to content

Commit

Permalink
Bugfix: Revert change to N_VSpace_Sycl (#523)
Browse files Browse the repository at this point in the history
This change was supposed to be reverted in #447 but it was missed.
  • Loading branch information
balos1 authored Jun 25, 2024
1 parent c3c8490 commit 8d3dde0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

### Bug Fixes

Fixed a [bug](https://github.com/LLNL/sundials/pull/523) in v7.1.0 with the SYCL N_Vector `N_VSpace` function.

### Deprecation Notices

## Changes to SUNDIALS in release 7.1.0
Expand Down
2 changes: 2 additions & 0 deletions doc/shared/RecentChanges.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

**Bug Fixes**

Fixed a `bug <https://github.com/LLNL/sundials/pull/523>`_ in v7.1.0 with the SYCL N_Vector ``N_VSpace`` function.

**Deprecation Notices**
2 changes: 1 addition & 1 deletion src/nvector/sycl/nvector_sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ void N_VDestroy_Sycl(N_Vector v)
return;
}

void N_VSpace_Sycl(N_Vector X, long int* lrw, long int* liw)
void N_VSpace_Sycl(N_Vector X, sunindextype* lrw, sunindextype* liw)
{
*lrw = NVEC_SYCL_CONTENT(X)->length;
*liw = 2;
Expand Down

0 comments on commit 8d3dde0

Please sign in to comment.