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

fix: Don't disable bindless allocation using an undocumented env var #813

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ph0b
Copy link

@ph0b ph0b commented Feb 24, 2025

Bindless allocation is a core functionality. Having obscure mechanisms disabling it at runtime leads to unwanted side effects, leading to application issues, for example on applications trying to use SYCL bindless textures, that are supposed to be available unconditionally on DG2 and newer (when texturing is supported).
This is what is assumed here:
https://github.com/oneapi-src/unified-runtime/blob/dd7d5c6256f7ec90be9753e6e5a24d06a6b36fd6/source/adapters/level_zero/device.cpp#L1095

This reverts commit 81644a4.

Bindless allocation is a core functionality. Having obscure mechanisms
disabling it at runtime leads to unwanted side effects, leading to
application issues, for example on applications trying to use SYCL
bindless textures, that are supposed to be available unconditionally on
DG2 and newer (when texturing is supported).
This is what is assumed here:
https://github.com/oneapi-src/unified-runtime/blob/dd7d5c6256f7ec90be9753e6e5a24d06a6b36fd6/source/adapters/level_zero/device.cpp#L1095

This reverts commit 81644a4.

Signed-off-by: Xavier Hallade <[email protected]>
@HoppeMateusz
Copy link
Contributor

Why do bindless textures are needed in SYSMAN mode?

in SYSMAN_NO_CONTEXT_MODE - Wddm context is not created so there is no GPU execution possible. Application setting this mode is not executing any kernels on GPU

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.

2 participants