Skip to content

Add missing device info queries - #2324

Open
ndgrigorian wants to merge 14 commits into
masterfrom
add-missing-device-info-queries
Open

Add missing device info queries#2324
ndgrigorian wants to merge 14 commits into
masterfrom
add-missing-device-info-queries

Conversation

@ndgrigorian

@ndgrigorian ndgrigorian commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

This PR adds the missing SYCL 2020 spec (i.e., non-extension) device info queries to dpctl.SyclDevice

  • 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?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?
  • If this PR is a work in progress, are you opening the PR as a draft?

@github-actions

Copy link
Copy Markdown

@coveralls

coveralls commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 74.054% (-0.5%) from 74.579% — add-missing-device-info-queries into master

Comment thread dpctl/__init__.py
Comment thread dpctl/_sycl_device.pyx Outdated
Comment thread libsyclinterface/tests/test_sycl_device_interface.cpp Outdated
Comment thread libsyclinterface/include/syclinterface/dpctl_sycl_device_interface.h Outdated
Comment thread libsyclinterface/tests/test_sycl_device_interface.cpp
@ndgrigorian
ndgrigorian force-pushed the add-missing-device-info-queries branch from 368514e to 38b62bf Compare August 3, 2026 22:33
@ndgrigorian
ndgrigorian requested a review from antonwolfy August 4, 2026 01:57
Comment thread libsyclinterface/include/syclinterface/dpctl_sycl_device_interface.h Outdated
Comment thread libsyclinterface/source/dpctl_sycl_device_interface.cpp
Comment thread libsyclinterface/source/dpctl_sycl_device_interface.cpp Outdated
Comment thread libsyclinterface/tests/test_sycl_device_interface.cpp Outdated
Comment thread dpctl/tests/_device_attributes_checks.py
Comment thread dpctl/_sycl_device.pyx
Comment thread dpctl/_sycl_device.pyx
Comment thread dpctl/_sycl_device.pyx Outdated
@ndgrigorian
ndgrigorian force-pushed the add-missing-device-info-queries branch from 17ce890 to 03911c8 Compare August 4, 2026 18:18
@ndgrigorian
ndgrigorian force-pushed the add-missing-device-info-queries branch from 03911c8 to 75030b5 Compare August 4, 2026 18:27
@ndgrigorian
ndgrigorian requested a review from antonwolfy August 4, 2026 18:27
antonwolfy
antonwolfy previously approved these changes Aug 5, 2026

@antonwolfy antonwolfy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM with only small question below

Comment thread libsyclinterface/source/dpctl_sycl_device_interface.cpp Outdated
*/
typedef enum
{
DPCTL_PARTITION_AFFINITY_DOMAIN_UNKNOWN = 0,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is not that a is a numeric-ABI change to already available API? We should at least state that explicitly.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

it is though this PR is not yet part of any release, and would only impact bleeding-edge builds

where do you feel it should be stated, changelog?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

added it to the changelog

@ndgrigorian
ndgrigorian requested a review from antonwolfy August 6, 2026 02:16
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.

3 participants