-
Notifications
You must be signed in to change notification settings - Fork 29
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
Support for composite devices #1993
base: master
Are you sure you want to change the base?
Conversation
View rendered docs @ https://intelpython.github.io/dpctl/pulls/1993/index.html |
Array API standard conformance tests for dpctl= ran successfully. |
2d5942d
to
76f2fc2
Compare
Array API standard conformance tests for dpctl=0.19.0dev0=py310h93fe807_544 ran successfully. |
76f2fc2
to
00cb089
Compare
Array API standard conformance tests for dpctl=0.20.0dev0=py310h93fe807_25 ran successfully. |
This leverages oneAPI extension for composite devices to add the free function `ext_oneapi_get_composite_devices` to the main dpctl namespace
This method is only applicable for level_zero backend, returning an empty list for all other backend types
00cb089
to
cc5ef08
Compare
Array API standard conformance tests for dpctl=0.20.0dev0=py310h93fe807_27 ran successfully. |
…aspect_component` Aligns with the rest of the SyclDevice properties Adds tests for the aspects
Array API standard conformance tests for dpctl=0.20.0dev0=py310h93fe807_31 ran successfully. |
7ea744b
to
b8c765f
Compare
Array API standard conformance tests for dpctl=0.20.0dev0=py310h93fe807_31 ran successfully. |
Rename some variables for consistency
b1be1ee
to
4ab4cb0
Compare
4ab4cb0
to
8327887
Compare
Array API standard conformance tests for dpctl=0.20.0dev0=py310h93fe807_34 ran successfully. |
Array API standard conformance tests for dpctl=0.20.0dev0=py310h93fe807_34 ran successfully. |
Array API standard conformance tests for dpctl=0.20.0dev0=py310h93fe807_34 ran successfully. |
This PR proposes supporting the oneAPI composite devices extension in dpctl, which exposes multi-tile GPU devices as root devices for each tile, but also provides access to the composite devices from level zero prior to
ZE_FLAT_DEVICE_HIERARCHY=FLAT
becoming the default. i.e., withZE_FLAT_DEVICE_HIERARCHY=COMPOSITE
, the composite devices are root devices, but withZE_FLAT_DEVICE_HIERARCHY=COMBINED
, a user gains access to these composite devices through dedicated APIs.