Skip to content

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

Open
@icfaust

Description

@icfaust

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions