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

If ONEAPI_DEVICE_SELECTOR requested cpu/fpga devices, do NOT load L0/… #2602

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ytzhang1
Copy link

…Cuda/Hip backends

Hi, there's an issue with the current implementation in UR, that even if ONEAPI_DEVICE_SELECTOR specified only cpu devices, like *:cpu , the gpu devices are still enumerated and processes are created on these devices which consume some unnecessary resources (a lot of vram in some cases). The issue is that UR only checks the backend types, but ignores device types. There's some customer complaining about this behavior of our runtime stack (reported JIRA already). please review.

@ytzhang1 ytzhang1 requested a review from a team as a code owner January 22, 2025 21:59
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.

1 participant