mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Sysman: Redesign event API to effectively use uevents
Earlier implementation of sysman events API was based on file creation in the filesystem. Whenever a uevent for some event which needs to be monitored arrive, at that time a file was created in the filesystem based on some preinstalled udev rules. This approach was inefficient as it heavily depends over file system and second with this approach losing events is always a possibility. Now with this change, we are removing our dependency over file creation in filesystem. Rather we will be using libudev library to monitor the uevents. This approach could also be extended, when we want to listen to all the uevents for all the gpu devices present in the system. Related-To: LOCI-2140 Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
23fd280334
commit
5baf75b9a8
@@ -15,6 +15,8 @@ These instructions have been tested on Ubuntu* and complement those existing for
|
||||
To use Fabric related APIs, please build and/or install [libnl-3.7.0](https://www.linuxfromscratch.org/blfs/view/svn/basicnet/libnl.html).
|
||||
If installing to a local folder, `-DLIBGENL_INCLUDE_DIR=<local install folder path>/libnl/include/libnl3/` could be passed to the cmake line of NEO build(Please refer top-level BUILD.md).
|
||||
|
||||
To use Sysman events API, please build and/or install libudev-dev
|
||||
|
||||
2. Install/build Level Zero loader and Level Zero headers
|
||||
|
||||
Install Level Zero loader and headers from [https://github.com/oneapi-src/level-zero/releases](https://github.com/oneapi-src/level-zero/releases).
|
||||
|
||||
Reference in New Issue
Block a user