-
Notifications
You must be signed in to change notification settings - Fork 29
Add intel device info data #1428
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
Conversation
View rendered docs @ https://intelpython.github.io/dpctl/pulls/1428/index.html |
Array API standard conformance tests for dpctl=0.15.1dev0=py310ha25a700_6 ran successfully. |
Array API standard conformance tests for dpctl=0.15.1dev0=py310ha25a700_7 ran successfully. |
https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/supported/sycl_ext_intel_device_info.md This includes HW characteristics for Intel Level-Zero GPU devices as well as access to PCI device-identifier.
Adds a test for _is_gen9 helper utility useful for skipping tests known to fail on Gen9. Adds a test for intel_device_info function. Test that descriptor names do not have typos.
c33855d
to
d11e64e
Compare
Array API standard conformance tests for dpctl=0.15.1dev0=py310ha25a700_8 ran successfully. |
Array API standard conformance tests for dpctl=0.15.1dev0=py310ha25a700_10 ran successfully. |
Array API standard conformance tests for dpctl=0.15.1dev0=py310ha25a700_13 ran successfully. |
bb6db13
to
21f1cca
Compare
Array API standard conformance tests for dpctl=0.15.1dev0=py310ha25a700_13 ran successfully. |
21f1cca
to
cd0ec5d
Compare
Array API standard conformance tests for dpctl=0.15.1dev0=py310ha25a700_13 ran successfully. |
This PR exposes device descriptors from https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/supported/sycl_ext_intel_device_info.md
It adds
dpctl.utils.intel_device_info(dev)
function that returns dictionary with meaningful values for these descriptors (if implemented).