In this example, two processes are launched on different devices
if more than one device is detected. Then, P2P capabilities are
queried through zeDeviceCanAccessPeer().
If P2P capabilities are available, then an IPC memory handle is
exchanged from server to client, and the client process running on
device 1 copies data from its buffer (allocated on device 1) to
the buffer exported by the server (allocated on device 0).
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
Add fabric port routines to zello_sysman.
Add subdevice support to FabricPort routines.
Update source paths for additional FabricPort development.
Signed-off-by: William Jordan <bill.jordan@intel.com>
In this example, two processes are launched on the same device,
and an IPC memory handle is exchanged from server to client.
Then, the client process running copies data from its buffer
to the buffer exported by the server.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
Netlink and generic netlink are standard linux
interfaces to allow management traffic between
user space and kernel subsystems over sockets.
This patch adds a loader for the generic netlink
library to allow Level 0 Sysman to manage
linux hardware that implements the generic
netlink interface.
Signed-off-by: William Jordan <bill.jordan@intel.com>
Update usage of SUPPORTED_IMAGES flag and do not use images when disabled.
Use SUPPORTED_2_0 only on fully OCL 2.1 conformant platforms.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
Add ZE_experimental_module_program extension to L0 driver to support
multiple input modules being passed to zeModuleCreate().
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
Add support for passing ze_external_memory_import_fd_t extended
structure to zeMemAllocDevice() to allocate a device memory
out of an fd handle.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
Add support for passing ze_external_memory_export_fd_t extended
structure to zeMemGetAllocProperties() to retrieve an fd handle
for a device allocation.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This change:
- Currently for all subdevices in LinuxMemoryImp::getState function,
free and size values are returned similar values. This change fixes this
issue and now correct value of size and free memory is returned as
per subdevice.
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
Add support for reading ze_external_memory_export_desc_t passed
to calls to zeMemAllocDevice. Current driver implementation
only supports handles as dma-buf, so add validation that only
that flag is being used.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>