-
Notifications
You must be signed in to change notification settings - Fork 121
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
Addition of num_compute_units query for device info #2525
base: main
Are you sure you want to change the base?
Conversation
please also update our |
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you'll need a tag update PR in the LLVM repo as well, like this https://github.com/intel/llvm/pull/16572/files
Could you check if I got this right? Thanks! |
yeah that looks correct, just going to link it here for future reference intel/llvm#16538 once this PR is merged a UR maintainer will update the tag for you and get the LLVM PR merged |
cc8ae30
to
a528051
Compare
a528051
to
ac2780e
Compare
This change introduces new enumerator for
enum ur_device_info_t
with nameUR_DEVICE_INFO_NUM_COMPUTE_UNITS
to get number of compute units for different combinations of device and backend.It's needed for extension
sycl_ext_oneapi_num_compute_units
https://github.com/Pennycook/llvm/blob/100b35b47bc6e35f3cf0bcc3c185df854d4da9c9/sycl/doc/extensions/proposed/sycl_ext_oneapi_num_compute_units.asciidocintel/llvm#16538