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

revert change to N_VSpace_Sycl that was missed #523

Merged
merged 2 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading