Skip to content

Update dpnp submodule call erf, synchronize dpnp array creation#356

Open
vchamarthi wants to merge 1 commit into
IntelPython:mainfrom
vchamarthi:dpnp-fixes
Open

Update dpnp submodule call erf, synchronize dpnp array creation#356
vchamarthi wants to merge 1 commit into
IntelPython:mainfrom
vchamarthi:dpnp-fixes

Conversation

@vchamarthi
Copy link
Copy Markdown

@vchamarthi vchamarthi commented May 19, 2026

This pull request adds explicit synchronization steps after array computations in several benchmark implementations of dpnp to ensure that results are correctly written to memory. The main changes involve calling np.synchronize_array_data on output arrays at the end of each computation function.

Updated calls to the error function in black_scholes_dpnp.py to use np.scipy.special.erf for compatibility.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • If this PR is a work in progress, are you filing the PR as a draft?

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.

1 participant