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

Use SYCL experimental extension for reduction properties #2211

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Dec 4, 2024

Recent changes in DPC++ 2025.1 compiler broke DPNP compilation. It seems the legacy DPC++ compiler behavior was affected by introducing SYCL experimental extension for reduction properties.

Since the compilation issue occurred for a backend function which will be removed once #2183 is merged, that PR proposes to temporary w/a the issue and to reuse the extension for reduction properties, which seems working.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to 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?
  • Have you checked performance impact of proposed changes?
  • If this PR is a work in progress, are you filing the PR as a draft?

Copy link
Contributor

github-actions bot commented Dec 4, 2024

View rendered docs @ https://intelpython.github.io/dpnp/index.html

Copy link
Collaborator

@vtavana vtavana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @antonwolfy!

@antonwolfy antonwolfy merged commit ed39ea7 into master Dec 4, 2024
47 of 48 checks passed
@antonwolfy antonwolfy deleted the fix-cmpl-build-issue branch December 4, 2024 17:34
github-actions bot added a commit that referenced this pull request Dec 4, 2024
Recent changes in DPC++ 2025.1 compiler broke DPNP compilation. It seems
the legacy DPC++ compiler behavior was affected by introducing SYCL
experimental extension for reduction properties.

Since the compilation issue occurred for a backend function which will
be removed once #2183 is merged, that PR proposes to temporary w/a the
issue and to reuse the extension for reduction properties, which seems
working. ed39ea7
antonwolfy added a commit that referenced this pull request Dec 5, 2024
Recent changes in DPC++ 2025.1 compiler broke DPNP compilation. It seems
the legacy DPC++ compiler behavior was affected by introducing SYCL
experimental extension for reduction properties.

Since the compilation issue occurred for a backend function which will
be removed once #2183 is merged, that PR proposes to temporary w/a the
issue and to reuse the extension for reduction properties, which seems
working.
antonwolfy added a commit that referenced this pull request Dec 5, 2024
antonwolfy added a commit that referenced this pull request Dec 5, 2024
This PR backports of #2166, #2057 and #2211 from development branch to
`maintenance/0.16.x`.
antonwolfy added a commit that referenced this pull request Dec 13, 2024
DPC++ compiler released 2025.0.4 version where `__SYCL_COMPILER_VERSION`
is defined to `20241205`. But the fixes from #2211 and for
`sycl::ext::intel::math::cyl_bessel_i0(x)` support weren't mapped there.

Thus the PR proposes to bump
`__SYCL_COMPILER_REDUCTION_PROPERTIES_SUPPORT` and
`__SYCL_COMPILER_BESSEL_I0_SUPPORT` defines up to `20241210` value to
exclude DPC++ compiler 2025.0.4 version.
github-actions bot added a commit that referenced this pull request Dec 13, 2024
DPC++ compiler released 2025.0.4 version where `__SYCL_COMPILER_VERSION`
is defined to `20241205`. But the fixes from #2211 and for
`sycl::ext::intel::math::cyl_bessel_i0(x)` support weren't mapped there.

Thus the PR proposes to bump
`__SYCL_COMPILER_REDUCTION_PROPERTIES_SUPPORT` and
`__SYCL_COMPILER_BESSEL_I0_SUPPORT` defines up to `20241210` value to
exclude DPC++ compiler 2025.0.4 version. cf2a106
vtavana pushed a commit that referenced this pull request Dec 13, 2024
DPC++ compiler released 2025.0.4 version where `__SYCL_COMPILER_VERSION`
is defined to `20241205`. But the fixes from #2211 and for
`sycl::ext::intel::math::cyl_bessel_i0(x)` support weren't mapped there.

Thus the PR proposes to bump
`__SYCL_COMPILER_REDUCTION_PROPERTIES_SUPPORT` and
`__SYCL_COMPILER_BESSEL_I0_SUPPORT` defines up to `20241210` value to
exclude DPC++ compiler 2025.0.4 version.
vtavana pushed a commit that referenced this pull request Dec 17, 2024
DPC++ compiler released 2025.0.4 version where `__SYCL_COMPILER_VERSION`
is defined to `20241205`. But the fixes from #2211 and for
`sycl::ext::intel::math::cyl_bessel_i0(x)` support weren't mapped there.

Thus the PR proposes to bump
`__SYCL_COMPILER_REDUCTION_PROPERTIES_SUPPORT` and
`__SYCL_COMPILER_BESSEL_I0_SUPPORT` defines up to `20241210` value to
exclude DPC++ compiler 2025.0.4 version.
vtavana pushed a commit that referenced this pull request Dec 17, 2024
DPC++ compiler released 2025.0.4 version where `__SYCL_COMPILER_VERSION`
is defined to `20241205`. But the fixes from #2211 and for
`sycl::ext::intel::math::cyl_bessel_i0(x)` support weren't mapped there.

Thus the PR proposes to bump
`__SYCL_COMPILER_REDUCTION_PROPERTIES_SUPPORT` and
`__SYCL_COMPILER_BESSEL_I0_SUPPORT` defines up to `20241210` value to
exclude DPC++ compiler 2025.0.4 version.
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.

2 participants