Skip to content

Add a missing event dependency for the strided kernel of erf #2378

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

Merged
merged 2 commits into from
Mar 21, 2025
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 @@ -20,6 +20,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

* Resolved an issue with an incorrect result returned due to missing dependency from the strided kernel on a copy event in `dpnp.erf` [#2378](https://github.com/IntelPython/dpnp/pull/2378)


## [0.17.0] - 02/26/2025

Expand Down
1 change: 1 addition & 0 deletions dpnp/backend/kernels/dpnp_krnl_elemwise.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ constexpr T dispatch_erf_op(T elem)
} \
}; \
auto kernel_func = [&](sycl::handler &cgh) { \
cgh.depends_on(copy_strides_ev); \
cgh.parallel_for<class __name__##_strides_kernel<_DataType>>( \
gws, kernel_parallel_for_func); \
}; \
Expand Down
Loading