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

Way to query free memory from an openCL backend on discrete Intel GPUs #810

Open
icfaust opened this issue Feb 9, 2025 · 0 comments
Open
Labels
Feature request New driver feature

Comments

@icfaust
Copy link

icfaust commented Feb 9, 2025

As a developer for the uxlfoundation on the oneDAL and scikit-learn-intelex, I would like to query the free memory of an Intel GPU when a level zero driver is unavailable, but an openCL is. This would be especially important for automated testing using Intel Data Center GPU products (Intel Max 1550) when accessing the underlying shared object memory allocations are not possible simply and/or directly.

While the functionality is available in SYCL when the level Zero SysMan is available, there is no equivalent for openCL backends on intel discrete products. However, for other vendors such functionality exists: nvmlDeviceGetMemoryInfo for NVidia and CL_DEVICE_GLOBAL_FREE_MEMORY_AMD for Radeon products.

Replicated from this reddit post (could not find the related issues in the compute-runtime closed/open list): https://www.reddit.com/r/OpenCL/comments/uocbbq/comment/i8rcfhs/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

@JablonskiMateusz JablonskiMateusz added the Feature request New driver feature label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request New driver feature
Projects
None yet
Development

No branches or pull requests

2 participants