You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
@eero-t Thank you for the link, I do appreciate your suggestion here to use ze_sysman for querying the free memory. We use that successfully already on level-zero enabled discrete intel GPUs, however, in some cases we are trying to verify operation on openCL backends, while it is discussed how to query the total available memory on a device via openCL, it does not return the current free memory on a device.
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 andCL_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
The text was updated successfully, but these errors were encountered: