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

Add support for device attribute query in Unified Runtime for other then L0 backends #16663

Open
the-slow-one opened this issue Jan 16, 2025 · 1 comment

Comments

@the-slow-one
Copy link

Currently we added the support for querying the device attribute corresponding CU_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT and CU_DEVICE_ATTRIBUTE_MAX_PITCH for L0 backend in this PR. #16533

Support the attribute query for CUDA, HIP and Metal in Unified Runtime.

@GeorgeWeb
Copy link
Contributor

GeorgeWeb commented Jan 16, 2025

I am not sure if this should be referencomg Metal, because I don't think we have a Metal adapter in Unified Runtime at this point.

Also, this issue requires adding SYCL device info properties, likely through an extension (I don't think we currently have any existing info properties that semantically will map to these values). So I am just pointing out this is a DPC++ plus Unified Runtime combined work effort for clarity because the UR queries will be called from sycl::device::get_info for the relevant properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants